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

Upstream retargeting algorithm #276

Closed
annevk opened this issue Jul 5, 2016 · 0 comments
Closed

Upstream retargeting algorithm #276

annevk opened this issue Jul 5, 2016 · 0 comments
Assignees
Labels
topic: shadow Relates to shadow trees (as defined in DOM)

Comments

@annevk
Copy link
Member

annevk commented Jul 5, 2016

See https://w3c.github.io/webcomponents/spec/shadow/#dfn-retargeting-algorithm. It seems Pointer Lock might use it soon per w3c/pointerlock#4 and it's needed by activeElement too.

I wonder if we should figure out if event dispatch can somehow use it after all.

@annevk annevk added the topic: shadow Relates to shadow trees (as defined in DOM) label Jul 5, 2016
@hayatoito hayatoito self-assigned this Jul 13, 2016
hayatoito added a commit that referenced this issue Jul 14, 2016
hayatoito added a commit that referenced this issue Jul 19, 2016
hayatoito added a commit that referenced this issue Jul 20, 2016
hayatoito added a commit that referenced this issue Jul 22, 2016
hayatoito added a commit that referenced this issue Jul 22, 2016
annevk pushed a commit that referenced this issue Jul 22, 2016
This defines the retargeting algorithm for shadow trees and more importantly event's relatedTarget handling. We avoid creating a direct dependency on UI Events by just making relatedTarget a slot for all events.

Fixes #276 and fixes #277.
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

No branches or pull requests

2 participants