Re: [csswg-drafts] [web-animations-1] Don't preserve current time for scroll linked animations when changing playbackRate (#2075)

The start time of a running scroll-linked animation is set to 0 or 100% depending on whether the playback rate is negative.     If we preserve the start time when updating the playback rate and the new playback rate has an inverted sign, then we have a scroll linked animation that is either running in the negative direction from the start or in the positive direction from the end.  Both cases result in an animation that is stuck in the before or after effect phases.

If the new and old playback rate have opposite signs, we should probably update the start time to the other endpoint of the timeline: start time 0 for positive playback rate,   or start time 100% for a negative playback rate.

-- 
GitHub Notification of comment by kevers-google
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2075#issuecomment-1327835229 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 25 November 2022 19:39:29 UTC