Skip to content

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

Open
@birtles

Description

@birtles

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

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