Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix composedPath() once more #696

Closed
wants to merge 2 commits into from
Closed

Conversation

annevk
Copy link
Member

@annevk annevk commented Sep 13, 2018

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

This changes "get the parent" to return a tuple and therefore requires downstream changes in at least Indexed DB.

Tests: ...

Fixes #684.


Preview | Diff

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

This changes "get the parent" to return a tuple and therefore requires downstream changes in at least Indexed DB.

Tests: ...

Fixes #684.
@annevk annevk added the topic: shadow Relates to shadow trees (as defined in DOM) label Sep 13, 2018
@annevk
Copy link
Member Author

annevk commented Sep 13, 2018

(The WebKit patch suggests this is at least tested by https://github.com/web-platform-tests/wpt/blob/master/shadow-dom/event-composed-path-after-dom-mutation.html.)

@annevk annevk mentioned this pull request Sep 13, 2018
annevk added a commit that referenced this pull request Sep 18, 2018
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.
@annevk annevk closed this in 23ec642 Nov 27, 2018
@annevk annevk deleted the annevk/composedPath-take-n branch November 27, 2018 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: shadow Relates to shadow trees (as defined in DOM)
Development

Successfully merging this pull request may close these issues.

1 participant