[Bug 11204] New: innerHTML on MathML elements


           Summary: innerHTML on MathML elements
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: davidc@nag.co.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,


describes innerHTML (and outerHTML and related methods) in terms of Element, as
do the underlying XML/HTML fragment parsing/serialization algorithms. As such
it might be expected (and would certainly be desirable) if these methods
applied to MathML and SVG elements. Certainly mathml and svg elements need to
take part in the fragment parsing/serialization algorithms so that the
innerHTML of an html element containing foreign content may be manipulated.

However innerHTML is apparently specified here
and (I think) MathML and SVG elements are not HTMLelement.

If innerHTML isn't defined then it can be approximated by taking the innerHTML
of a (possibly specially generated) parent html element and manipulating it
accordingly but this appears to be a needless restriction.

The specification should make it clear that these methods are intended to apply
to MathML and SVG.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 3 November 2010 00:06:38 UTC