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

[web-animations] Wrong AnimationPlayer attributes and typos

From: Сергей Грехов <sgrekhov@unipro.ru>
Date: Wed, 15 Oct 2014 13:55:25 +0700
Message-ID: <273527233cdbdfdae555cbd3d97b082f.squirrel@unipro.ru>
To: public-fx@w3.org
Cc: dom@unipro.ru
Hi there,

Take a look at 5.25. Script execution and live updates to the model
There is Non-normative section with the EXAMPLE 18

      // Initially player.src.localTime is 3000
      player.currentTime += 2000;
      alert(player.src.localTime); // Displays ‘5000’

AnimationPlayer interface has no .src attribute, it has .source attribute
that returns AnimationNode which has no .localTime either.

And a couple of typos.

3.5.15. Speed control (http://w3c.github.io/web-animations/#speed-control)
Setting a player’s playback rate to zero effectively pauses the player
b(however, the play state does not necessarily become paused).

Note 'b' letter before parenthesis Updating the playback rate of a player
The procedure to update the player playback rate of a player, player to
new playback rate is as followsL

Note 'L' at the string end

Sergey G. Grekhov
Received on Wednesday, 15 October 2014 06:58:11 UTC

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