W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Oct 2009 10:39:52 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-7855-2486@http.www.w3.org/Bugs/Public/>

           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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:41 UTC