You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should the easing function specified in transition-timing-function be applied to the global timing function of the CSSTransition's KeyframeEffect (and be returned by getComputedTiming()) or should it be applied to the first keyframe? First keyframe is consistent with CSSAnimation while global timing seems to be implied by the reversing behavior, as the global progress it talks about is affected by the easing function and it would make sense if getComputedTiming returned this value.
The text was updated successfully, but these errors were encountered:
That's a great question. In Firefox we apply it to the first keyframe for consistency with CSS animations, but I can see how it might be more intuitive for an author if it applied to the effect instead (so you can substitute out the keyframe values without affecting the easing).
Furthermore, regarding the reversing behavior you identified, it looks like we ran into the same issue in Firefox and have an outstanding issue to moving the easing to the effect instead (code comment, bug).
We discussed this during the 2019-09-10 telcon and I agree that this is desirable. I think at this stage we have general agreement to pursue this, @george-steel could you make a spec edit and create a pull request?
Should the easing function specified in
transition-timing-function
be applied to the global timing function of the CSSTransition's KeyframeEffect (and be returned bygetComputedTiming()
) or should it be applied to the first keyframe? First keyframe is consistent with CSSAnimation while global timing seems to be implied by the reversing behavior, as the global progress it talks about is affected by the easing function and it would make sense if getComputedTiming returned this value.The text was updated successfully, but these errors were encountered: