[csswg-drafts] [scroll-animations-1] Interaction with 'animation-iteration-count' (#8233)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations-1] Interaction with 'animation-iteration-count' ==
We don't define what happens if the animation-iteration-count is not 1. We could:

- ignore it entirely
- split the length of the timeline (or what remains after limiting by animation-range/delay) by the number of iterations, treating `infinite` as `1`, and loop over the keyframes for each iteration

In the latter case, things get weird if keyframes are attached using named range offsets. We could...
- attach those frames, then ignore them while attaching any other frames using the iteration count
- attach those frames, then split the timeline up by those frames and iterate any other keyframes within each interval
- something else?

CC @bramus

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8233 using your GitHub account


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

Received on Thursday, 15 December 2022 20:43:58 UTC