[web-animations] Setting hold time in "pause a player" procedure

Hi All,

 

The procedure to pause a player
(http://w3c.github.io/web-animations/#pause-a-player) contains the following
steps:

.

4. Set player's hold time to current time.

.

7.1. Set player's hold time to the time value corresponding to the value of
player's current time used at the moment when the pause operation was
completed, even if that value was unresolved.

Note: since player's start time and hold time are set to unresolved earlier
in this procedure, user agents will be required to maintain additional state
in order to determine the appropriate value of the current time.

.

 

First, if player's hold time is set to current time at step 7.1 why do we
need set it to current time at step 4 (at the time of step 4 current time
may be unresolved yet )?

Second,  Note section reads ".since player's start time and hold time are
set to unresolved earlier in this procedure.". But hold time is not set to
unresolved, it set to current time which may be unresolved but not
necessarily.

 

--

Regards

Sergey G. Grekhov

 

Received on Wednesday, 5 November 2014 06:42:22 UTC