Skip to content

[css-animations] Clarify if synthesized 0% / 100% keyframes use the underlying animated style or the un-animated style #1841

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

Open
birtles opened this issue Oct 2, 2017 · 0 comments
Labels
css-animations-1 Current Work

Comments

@birtles
Copy link
Contributor

birtles commented Oct 2, 2017

I believe Chrome and Firefox use the underlying animated style while other UAs use the un-animated style. The spec suggests we should use the un-animated style but it's not clear when/if that value should be snapshotted and this seems like less useful behavior than using the underlying animated style:

If a 0% or from keyframe is not specified, then the user agent constructs a 0% keyframe using the computed values of the properties being animated. If a 100% or to keyframe is not specified, then the user agent constructs a 100% keyframe using the computed values of the properties being animated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-animations-1 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant