Bug 112698

Summary: SVG elements have no 'children' nodeList collection
Product: WebKit Reporter: Premasagar Rose <p>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ahmad.saleem792, p, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Premasagar Rose
Reported 2013-03-19 08:05:49 PDT
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/
Attachments
Note You need to log in before you can comment on or make changes to this bug.