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: fix relatedTarget reset test once more #10862

Closed
wants to merge 1 commit into from

Conversation

annevk
Copy link
Member

@annevk annevk commented May 7, 2018

The fix in #10859 seems incorrect. In particular the DOM Standard keeps a reference to the original relatedTarget field value so even if it's retargeted it'll still meet the "clearTargets" condition.

Fixes #10854.

The fix in #10859 seems incorrect. In particular the DOM Standard keeps a reference to the original relatedTarget field value so even if it's retargeted it'll still meet the "clearTargets" condition.

Fixes #10854.
@wpt-pr-bot wpt-pr-bot added the dom label May 7, 2018
@wpt-pr-bot wpt-pr-bot requested review from ayg, jdm and zqzhang May 7, 2018 09:06
@annevk
Copy link
Member Author

annevk commented May 7, 2018

@smaug---- can you review?

@annevk
Copy link
Member Author

annevk commented May 7, 2018

This is wrong because of whatwg/dom#585 (comment) and how clearTargets works. In particular it now looks at event's path and not any original values.

@annevk annevk closed this May 7, 2018
@annevk annevk deleted the annevk/shadow-relatedtarget branch May 7, 2018 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants