Skip to content

[web-animations-1] Seeking without an active timeline should probably not transition to paused #2048

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

Open
birtles opened this issue Dec 5, 2017 · 0 comments

Comments

@birtles
Copy link
Contributor

birtles commented Dec 5, 2017

From @birtles on May 20, 2015 8:23

In trying to analyze the specced behavior for updating the finished state when the timeline is inactive I came up with the following two scenarios.

Scenario A:

  1. Suppose we have a finished animation and its timeline becomes inactive
    --> we will have a resolved hold time
  2. Then suppose we lengthen the duration such that the animation shouldn't be finished anymore
    --> we should keep the hold time in that case
  3. Then suppose the timeline becomes active again
    --> we should keep the start time and pick up where we left off

Seems OK.

Scenario B:

  1. Suppose we have a finished animation and its timeline becomes inactive
    --> we will have a resolved hold time
  2. Then suppose we seek to within the active interval such that the animation shouldn't be finished animation
    --> we will update the hold time and clear the start time (the procedure to silently set the current time will do this)
  3. Then suppose the timeline becomes active again
    --> we should recalculate the start time from the hold time but there's nothing in the spec that does that yet

This is a bug. Step 2 puts us into the paused state which seems wrong.

Copied from original issue: w3c/web-animations#95

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