W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2014

Re: [web-animations] Setting AnimationPlayer.startTime value to null

From: Сергей Грехов <sgrekhov@unipro.ru>
Date: Thu, 16 Oct 2014 12:03:08 +0700
Message-ID: <1156fc3a5d4baa0e9018082b681945b2.squirrel@unipro.ru>
To: public-fx@w3.org
Cc: dom@unipro.ru
There is another issue in setting start time procedure.

2. Unless player has a pending pause task, set player’s start time to new
start time.

According this step player's start time should be set even player has no
timeline associated. But definition of start time is "A player’s start
time is the time value of its timeline". So there should not be start time
without timeline.

Setting start time procedure should catch this case.

> Hi there,
> Accorrding the specification AnimationPlayer.startTime attribute is
> nullable. But Update player start time procedure
> (http://w3c.github.io/web-animations/#update-the-player-start-time) does
> not check if new value is null.
> The should be checking for null value. Otherwise some steps of the
> procedure (for example "2. Let start time offset be new start time −
> effective start time.") won't work.
> --
> Regards,
> Sergey G. Grekhov
Received on Thursday, 16 October 2014 05:05:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:53 UTC