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

Special RestrictonTarget.fromElement() behavior for elements associated with a shadowRoot? #30

Open
mfoltzgoogle opened this issue Sep 8, 2023 · 0 comments

Comments

@mfoltzgoogle
Copy link
Contributor

Elements attached to a shadowRoot either are not rendered at all or are rendered in special circumstances (fullscreen, picture-in-picture). If a developer tries to restrict to an element attached to a shadowRoot, what should happen?

This may "just work" if the restriction conditions apply consistently to shadow DOM elements and the underlying implementation works as intended (i.e, it is able to capture a fullscreen element). But some investigation may be needed to confirm.

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

No branches or pull requests

1 participant