On Jul 15, 2009, at 6:27 AM, Jack Wootton wrote:
Line 81 of Node.h is the comment
// this class implements nodes, which can have a parent but no
children:
I don't understand this comment since Nodes are used in trees, and
tree structures have children (and parents). Also Node has the
methods firstChild and lastChild.
http://trac.webkit.org/browser/trunk/WebCore/dom/Node.h
The comment isn't really accurate. Nodes can have children, but to do
so they much be ContainerNodes.
-Adam
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help