[Bug 28107] TreeWalker nextNode never ascends the tree

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28107

--- Comment #9 from Arkadiusz Michalski (Spirit) <crimsteam@gmail.com> ---
(In reply to Anne from comment #7)
> Otherwise, if currentNode is not a descendant of root, a node is following
> /node/, and /node is not a descendant of root, then set /node to the first
> node following /node/.

"and /node/ is not a descendant of root" << it's needed here? 

Btw., I think for this two conditions you should cache currentNode before run
any filter (it may even be in step 1.) because we can change currentNode inside
filter and looks like it does not affect the current call nextNode().

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 23 August 2016 10:05:57 UTC