[Bug 7855] New: Define fragment parsing when the context is not an HTML, SVG or MathML node

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7855

           Summary: Define fragment parsing when the context is not an HTML,
                    SVG or MathML node
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


createContextualFragment() method (decentralized extension to DOM Range) allows
the invocation of the fragment parsing algorithm with contexts that aren't
possible with innerHTML.

Please clarify (or explicitly delegate defaulting to other applicable
specifications) cases where the context node is not an HTML, SVG or MathML
element node.

I suggest the following:
 1) Let /node/ be the context node.
 2) If /node/ is an HTML, SVG or MathML element, use /node/ as the actual
context node and terminate these steps.
 3) If /node/ is null or an element, behave as if the actual context node were
a body element node in the http://www.w3.org/1999/xhtml namespace and terminate
these steps.
 4) Let /node/ be the parent of /node/.
 5) Go to step 1.


-- 
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 Friday, 9 October 2009 10:39:53 UTC