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

Looks like we have a similar issue when calling reverse() an animation with a scroll-linked animation.  If current time is resolved and in bounds,  then a new seek time is not set.  When we run the "ready" task, we try to preserve the value of current time.

current time to match = (ready time - old start time) × old playback rate 
new start time = ready time - current time to match / new playback rate

This update can cause the start time to become unaligned with an endpoint of the scroll range.

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


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

Received on Monday, 28 November 2022 15:16:49 UTC