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

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

== [web-animations-1] Seeking without an active timeline should probably not transition to paused ==
_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_

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

Received on Tuesday, 5 December 2017 04:19:29 UTC