W3C home > Mailing lists > Public > www-style@w3.org > August 2015

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 12 Aug 2015 12:23:39 -0700
Message-ID: <CAAWBYDBmPJEU4HVwphx5Kb=0mfQGkGek5gCNub6OqSikUKacqw@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: "www-style@w3.org list" <www-style@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 12 August 2015 19:24:26 UTC