Skip to content

Conversation

@flackr
Copy link
Contributor

@flackr flackr commented Nov 16, 2022

[web-animations-1] Maintain start time when changing playback rate for non-monotonic animations

Animations associated with non-monotonic timelines typically anchor to the start of their associated timeline. Setting the playback rate currently would change that by explicitly setting the current time after changing the playback rate which implicitly changes the start time. This would result in the animation getting out of sync with the timeline range. This fixes #2075.

@flackr flackr requested a review from birtles November 16, 2022 22:20
@flackr flackr merged commit f1c3606 into w3c:main Nov 21, 2022
jakearchibald pushed a commit to jakearchibald/csswg-drafts that referenced this pull request Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[web-animations-1] Don't preserve current time for scroll linked animations when changing playbackRate

2 participants