W3C home > Mailing lists > Public > www-style@w3.org > June 2013

[css-anims] Play-state interaction with delay update

From: François REMY <francois.remy.dev@outlook.com>
Date: Sun, 9 Jun 2013 18:30:42 +0200
Message-ID: <DUB120-DS196CD593335BF57B693C5FA59B0@phx.gbl>
To: "CSS WG" <www-style@w3.org>
Cc: "Animations W3C WG" <public-fx@w3.org>
Hi everybody,

I’ve been thinking about a usecase today where I wanted an animation to stop 
playing while still being able to “seek” inside the animation timeline.

I was hoping to use “animation-play-state: paused” and then update the value 
of “animation-delay” to seek into the animation but it doesn’t seem to work 
as I expected (the value of the animations properties are kept frozen even 
after the delay has been changed).

If we think in terms of Web Animations, marking the animation as paused is 
equal to setting its playback rate to 0 temporarily, but that should not 
prevent seek operations to work.

What do you think of it? Should that be changed? Or should it just be 
clarified that changing the animation delay does not cause the animation to 
be recomputed? In all other cases, changing the animation delay 'restart' 
the animation from scratch (at the animation-delay time). My belief was that 
it would still do the same when paused, except that the state after the 
restart would be paused.

Best regards,
François 
Received on Sunday, 9 June 2013 16:30:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC