Skip to content

[scroll-animations-1] Interaction with 'animation-iteration-count' #8233

@fantasai

Description

@fantasai

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions