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

Stack overflow on Shadow DOM #12

Closed
foooomio opened this issue May 15, 2018 · 4 comments
Closed

Stack overflow on Shadow DOM #12

foooomio opened this issue May 15, 2018 · 4 comments
Labels

Comments

@foooomio
Copy link
Owner

shadowRoot.elementsFromPoint(x, y) returns elements that belong to the host document. I don't know this behavior is correct.

Shadow DOM testing
https://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/#ex3aNameTag

@foooomio foooomio added the bug label May 15, 2018
@foooomio
Copy link
Owner Author

For the present, shadowRoot.elementsFromPoint has been disabled on bc04f7a and it has been released as v2.6.0.

@foooomio
Copy link
Owner Author

Related issue: dequelabs/axe-core#856
https://twitter.com/marcysutton/status/987476758843740160

Since Chrome 66, the behavior of shadowRoot.elementsFromPoint has changed. I wonder why. I will do continuous research on it.

@foooomio
Copy link
Owner Author

foooomio commented May 18, 2018

We are now discussing the issue on https://bugs.chromium.org/p/chromium/issues/detail?id=843215

@foooomio
Copy link
Owner Author

Fixed on 6d5c490 and released as v2.6.1.

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

No branches or pull requests

1 participant