Incompatibility in "children" DOM property

In Safari 2.0.4 (and possibly other versions), a Node's "children" property includes all descendant nodes, not just the immediate children. The "childNodes" property correctly returns only the immediate child nodes.

Test page Workaround is not included
Reported by: Steve Joynt.

Safari | Reported on 22 September 2006.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by David Kilzer on 23 December 2006 | Permalink

Fixed as of WebKit r18399.

http://bugs.webkit.org/show_bug.cgi?id=9610#c7