Fwd: [please, review] [web-animations] AnimationPlayer.currentTime value if player has a pending pause task

Hello, everyone.

The definition of the AnimationPlayer.currentTime attribute reads:
( https://w3c.github.io/web-animations/#dom-animationplayer-currenttime )

> currentTime, of type double, nullable
> The current time of this player unless this playerhas a pending pause  
> task, in which case this attribute returns null.

The current time is essentially a time value, which can be resolved or
unresolved. Unresolved time value is by convention equal to null.

Please, clarify the specification intention about currentTime null value.
Should it be considered as:

> The current time of this player unless this player has a pending pause  
> task, in which case this attribute returns unresolved time value.

or

> The current time of this player unless this playerhas a pending pause  
> task, in which case this attribute returns [some special value, not  
> equal to unresolved value]


Also ComputedTimingProperties.localTime has the same issue.
https://w3c.github.io/web-animations/#dom-computedtimingproperties-localtime

Thanks,
Aleksei.

Received on Friday, 6 March 2015 06:36:14 UTC