[Webkit-unassigned] [Bug 205488] [Web Animations] CSS `animation-timing-function` not respected in `getComputedTiming()`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 5 23:56:34 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=205488
Antoine Quint <graouts at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #1 from Antoine Quint <graouts at apple.com> ---
This is actually correct. The "animation-timing-function" property will affect the easing value on individual keyframes, Chrome and Firefox behave the same as well. I agree this is not intuitive, but CSS Animations define that animation-timing-function is really a shorthand for defining that property on each set of keyframes, per https://drafts.csswg.org/css-animations-1/#animation-timing-function:
"The animation-timing-function property describes how the animation will progress between each pair of keyframes. Timing functions are defined in the separate CSS Easing Functions module [css-easing-1]."
As such, you'll get the value specified through getKeyframes(), but an actual animation-wide timing function is not something that can be set via CSS Animations properties.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200106/4fe5d453/attachment.htm>
More information about the webkit-unassigned
mailing list