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
Set start delay to be the result of evaluating specified start delay / total time * timeline duration.
Set iteration duration to be the result of evaluating specified iteration duration / total time * timeline duration.
Set end delay to be the result of evaluating specified end delay / total time * timeline duration.
This spec issue may be related to #4862, the normalization of progress-based animations. I notice Chromium handles these two edge cases by (code):
if the total time (i.e. end time) is zero, the start delay, end delay, and the iteration duration are all zero.
if the total time is inf, that start delay and end delay are zero, and the iteration duration is 1 / iteration count.
The handle in Chromium looks reasonable to me, I'd like to use this similar way in Gecko. And it'd better to address these two edge cases in the spec as well.
The text was updated successfully, but these errors were encountered:
There are two edge cases the spec doesn't specify what happen when we convert a time-based animation to a proportional animation in [web-animations-2]:
This spec issue may be related to #4862, the normalization of progress-based animations. I notice Chromium handles these two edge cases by (code):
1 / iteration count
.The handle in Chromium looks reasonable to me, I'd like to use this similar way in Gecko. And it'd better to address these two edge cases in the spec as well.
The text was updated successfully, but these errors were encountered: