-
Notifications
You must be signed in to change notification settings - Fork 708
[view-transitions-1] Have the -image-pair
, -old
, and -new
pseudos inherit animation-delay
#9817
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
Comments
I see |
It's clear that |
The CSSWG will automatically accept this resolution one week from now if no objections are raised here. Anyone can add an emoji to this comment to express support. If you do not support this resolution, please add a new comment. Proposed Resolution: Add |
RESOLVED: Add animation-delay: inherit to the UA stylesheet rules for (::view-transition) -image-pair, -old, and -new |
…r, -old, and -new Closes w3c#9817
I just caught myself doing this in a project I’m working on:
I needed to do this to sync up the
animation-delay
from the::view-transition-group(x)
to its child-pseudos.Without the first code snippet my animations were not in sync: the default fade-in/fade-out on the new/old pseudo ran at the wrong time.
I was surprised that
animation-delay: inherit;
on the pseudos isn’t part of the UA stylesheet VT styles, especially since the VT UA styles do exactly that foranimation-duration
(andanimation-fill-mode
):I think it would be handy to include
animation-delay: inherit
for the-image-pair
,-old
, and-new
pseudos in the UA stylesheet so that setting a delay on the-group
automatically gets applied on the the child pseudos as well, keeping them all in sync.The text was updated successfully, but these errors were encountered: