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 event path iteration #686

Merged
merged 2 commits into from Mar 1, 2019
Merged

Fix event path iteration #686

merged 2 commits into from Mar 1, 2019

Commits on Sep 11, 2018

  1. Editorial: event's patch consists of structs

    As pointed out in #685 this was a bit confusing.
    annevk committed Sep 11, 2018
    Copy the full SHA
    ccf91dd View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2019

  1. Fix event path iteration

    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 committed Mar 1, 2019
    Copy the full SHA
    7aaff50 View commit details
    Browse the repository at this point in the history