Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cdoublev opened this issue Jan 17, 2025 · 0 comments

Comments

@cdoublev
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant