Re: [css-animations] Should changing animation-delay cause an animation to run?

On Wed, Aug 12, 2015 at 12:05 PM, Simon Fraser <smfr@me.com> wrote:
> I can’t find a section in the CSS Animations spec[1] that describes exactly what triggers the running of a CSS animation. This came up recently because an article[2] had an example[3] that worked in Chrome and FF, but not WebKit, and this example relies on the fact that changing animation-delay is making an animation run again.
>
> This seems wrong to me. I think that only changes in animation-name (and maybe the presence of referenced @keyframes) should trigger running.
>
> I seem to recall that David Baron was planning to write some prose for this?
>
> Simon
>
> [1] https://drafts.csswg.org/css-animations/
> [2] https://css-tricks.com/debugging-css-keyframe-animations/
> [3] http://codepen.io/team/css-tricks/pen/LVMMGZ

Agreed, and yes, he was.  I can try to dig up the minutes of the f2f
where we discussed this (and the behavior of events when you change
things).

~TJ

Received on Wednesday, 12 August 2015 19:24:26 UTC