[Webkit-unassigned] [Bug 16758] ASSERT when using TreeWalker methods for a current node outside of the root (Acid3)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 8 22:32:11 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16758





------- Comment #5 from darin at apple.com  2008-01-08 22:32 PDT -------
Here is the relevant quote from the specification:

"All the TreeWalker's navigation methods operate in terms of the context of the
currentNode at the time they are invoked, no matter what has happened to, or
around, that node since the last time the TreeWalker was accessed. This remains
true even if the currentNode is moved out of its original subtree."

And:

"If we instead insert the currentNode into the <subtree/> element, like so:
[...] we have moved the currentNode out from under the TreeWalker's root node.
This does not invalidate the TreeWalker; it may still be used to navigate
relative to the currentNode."

The real fix here would be to remove the assertions, and I have done this in my
new patch.


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



More information about the webkit-unassigned mailing list