[Bug 26396] innerHTML depends on node document; doesn't look at element context

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26396

Travis Leithead [MSFT] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Travis Leithead [MSFT] <[email protected]> ---
The current text in fragment parsing algorithm choses the fragment parsing
algorithm (from HTML5) by the document alone. 

See: http://www.w3.org/TR/DOM-Parsing/#dfn-concept-parse-fragment

In the case of HTML documents, it does look like the "adjusted current node"
concept is baked into that algorithm, and it does handle SVG and foreignObject:

http://www.w3.org/TR/html5/single-page.html#html-integration-point

For XHTML/XML/SVG/MathML documents, I don't believe it's possible to invoke the
HTML fragment parsing algorithm from within that context. (I believe all your
examples were text/html documents, right?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.