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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26396

Travis Leithead [MSFT] <travil@microsoft.com> changed:

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

--- Comment #2 from Travis Leithead [MSFT] <travil@microsoft.com> ---
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.

Received on Monday, 13 October 2014 22:49:14 UTC