[whatwg/dom] Set current node to sibling when iterating the TreeWalker. Fixes #667. (#747)

This PR fixes $667 where a sibling node is never returned from the nextNode() method of TreeWalker, resulting in an infinite loop.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/747

-- Commit Summary --

  * Set current node to sibling when iterating the TreeWalker. Fixes #667.

-- File Changes --

    M dom.bs (3)

-- Patch Links --

https://github.com/whatwg/dom/pull/747.patch
https://github.com/whatwg/dom/pull/747.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/747

Received on Friday, 5 April 2019 09:31:59 UTC