[Webkit-unassigned] [Bug 32393] New: Comments and PIs in the internal subset appear as siblings of the doctype

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 10 13:34:43 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32393

           Summary: Comments and PIs in the internal subset appear as
                    siblings of the doctype
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zcorpan at gmail.com


Comments and PIs that appear in the internal subset are inserted to the DOM as
children of the document, after the doctype node. This is bogus. In the
Infoset, they'd be children of the doctype. In the DOM, they'd be dropped on
the floor, basically.

This makes a difference for xml-stylesheet PIs.

Opera and Mozilla don't insert comments and PIs in the internal subset as
children of the document.

http://canvex.lazyilluminati.com/misc/dom-viewer/x.html?<!DOCTYPE%20x[<!--comment--><%3Fpi%3F>]><x/>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list