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

DOM: eventPhase during legacy-pre-activation behavior #13030

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

annevk
Copy link
Member

@annevk annevk commented Sep 17, 2018

@annevk
Copy link
Member Author

annevk commented Mar 1, 2019

@hayatoito could you review this as well please?

annevk added a commit to whatwg/dom that referenced this pull request Mar 1, 2019
Instead of shoehorning all target handling into the bubbling iteration, this separates "capturing" iteration from "bubbling" iteration and the Event object's phase is set to target as appropriate in both.

This also invokes the event listeners in a more natural order.

Tests: web-platform-tests/wpt#13030 & web-platform-tests/wpt#13031.

Fixes #685.
@annevk annevk force-pushed the annevk/legacy-pre-activation-behavior-phase branch from 7c18f59 to 6928654 Compare March 1, 2019 10:49
@annevk annevk requested review from hayatoito and rniwa March 1, 2019 10:50
annevk added a commit to whatwg/dom that referenced this pull request Mar 1, 2019
Instead of shoehorning all target handling into the bubbling iteration, this separates "capturing" iteration from "bubbling" iteration and the Event object's phase is set to target as appropriate in both.

This also invokes the event listeners in a more natural order.

Tests: web-platform-tests/wpt#13030 & web-platform-tests/wpt#13031.

Fixes #685.
Copy link
Contributor

@rniwa rniwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me.

@annevk annevk merged commit 079928e into master Mar 2, 2019
@annevk annevk deleted the annevk/legacy-pre-activation-behavior-phase branch March 2, 2019 07:37
@hayatoito
Copy link
Member

Sorry for the delay. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants