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

[css-animations-2] CSS animations on shadow parts #4716

Open
george-steel opened this issue Jan 29, 2020 · 5 comments
Open

[css-animations-2] CSS animations on shadow parts #4716

george-steel opened this issue Jan 29, 2020 · 5 comments

Comments

@george-steel
Copy link
Contributor

::part() selectors expose sets of elements in a shadow tree as through a pseudo-element selector on its host. If animation properties are set this way there is some undefined behavior.

Which tree is the @Keyframes rule resolved on? Is it the shadow tree of the element or is it the host's tree.

Is the owning element the element in the shadow tree or is it the host? This effects which tree it appears in the getAnimations() results for.

@george-steel
Copy link
Contributor Author

@birtles
Copy link
Contributor

birtles commented Jan 29, 2020

/cc @bzbarsky since I seem to remember there being some existing ambiguity around @keyframes rules and shadow trees.

@emilio
Copy link
Collaborator

emilio commented Jan 30, 2020

This is a dupe of #1516, unless I'm missing something.

@emilio
Copy link
Collaborator

emilio commented Jan 30, 2020

Which is itself a subset of a more general issue (#1995).

@birtles
Copy link
Contributor

birtles commented Jan 30, 2020

Yeah, the question about the owning element might be new, but perhaps that might fall out of the solution to the other issues.

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

No branches or pull requests

4 participants