[whatwg/dom] Fix composedPath() once more (#699)

The existing algorithm exposed nodes in shadow trees that should remain hidden. (This wasn't noticed in #535.)

This roughly matches the approach taken by jsdom to solve this issue and unlike #696 requires no downstream changes.

Tests: ...

Fixes #684.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix composedPath() once more

-- File Changes --

    M dom.bs (97)

-- Patch Links --

https://github.com/whatwg/dom/pull/699.patch
https://github.com/whatwg/dom/pull/699.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/699

Received on Tuesday, 18 September 2018 10:33:57 UTC