W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11204] New: innerHTML on MathML elements

From: <bugzilla@jessica.w3.org>
Date: Wed, 03 Nov 2010 00:06:36 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-11204-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11204

           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,
                    public-html@w3.org


http://dev.w3.org/html5/spec/Overview.html#innerhtml

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
http://dev.w3.org/html5/spec/Overview.html#htmlelement 
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 November 2010 00:06:39 GMT