Skip to content

[web-animations-1] Can the animation be considered *ready* when playback is suspended? #11519

Open
@cdoublev

Description

The only difference between the execution conditions of the pending pause and play tasks is that the pause task requires that playback be suspended and the play task requires that playback has begun. When the play task conditions are fulfilled, the animation is said to be ready.

So instead of the following in the procedure to pause an animation...

  1. Schedule a task to be executed at the first possible moment where both of the following conditions are true:
  • the user agent has performed any processing necessary to suspend the playback of animation’s associated effect, if any.
  • animation is associated with a timeline that is not inactive.

... can't we just say that it must be executed as soon as an animation is ready and that the animation is ready when playback has begun or is suspended?

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