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: test listener invocation order #13031

Merged
merged 1 commit into from Mar 1, 2019
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Sep 17, 2018

@hayatoito
Copy link
Member

LGTM

@annevk annevk force-pushed the annevk/dom-listener-order branch from 4ff3821 to d772ebe Compare March 1, 2019 10:37
@annevk annevk merged commit 103df1b into master Mar 1, 2019
@annevk annevk deleted the annevk/dom-listener-order branch March 1, 2019 10:46
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 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.
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.

None yet

3 participants