[Webkit-unassigned] [Bug 112698] New: SVG elements have no 'children' nodeList collection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 19 08:03:23 PDT 2013


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

           Summary: SVG elements have no 'children' nodeList collection
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: p at dharmafly.com
                CC: zimmermann at kde.org


HTML elements have a 'children' collection, which is a nodeList representing the subset of 'childNodes' that are elements:

    'children' in document.createElement('div'); // true

SVG elements have no such 'children' collection:

    'children' in document.createElementNS('http://www.w3.org/2000/svg', 'rect'); // false

More info on 'children' and the related Element Traversal API:
https://hacks.mozilla.org/2009/06/dom-traversal/

-- 
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