mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-31 17:55:59 -04:00
Fixes the last failing subtest of WPT /html/dom/elements/ the-innertext-and-outertext-properties/outertext-setter.html (42/43 -> 43/43): outerText is an HTMLElement property, so assigning it on a MathML <math> element must not replace the element. MathML elements currently share the HTML wrapper types (giving them a plain Element wrapper is part of the pending element-interface work), so they expose the outerText setter; it now stays inert for non-HTML namespaces. Coverage: outertext-setter.html 42/43 -> 43/43 (fully green). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>