[dom] Remove unnecessary conditions from the 'traverse children' algorithm. (#45)

/node/ will never be null when reaching the head of these loops, unless it is
null when starting the outer loop.  This should somewhat clarify how the loop
actually runs.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove unnecessary conditions from the 'traverse children' algorithm.

-- File Changes --

    M dom.bs (7)
    M dom.html (11)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/45

Received on Saturday, 20 June 2015 08:28:43 UTC