Re: [css-animations] Keyframes appearing more than once in animation-name

> On May 4, 2016, at 12:11 PM, Simon Fraser <smfr@me.com> wrote:
> 
> A bug was filed on WebKit showing incorrect behavior in an animation test case[1] which repeats the same keyframes in comma-separated animation-name, like:
> 
>   animation-name: a, b, a, b;
>   animation-duration: 1s, 1s, 1s, 1s;
>   animation-delay: 0s, 2s, 4s, 6s;
>   animation-fill-mode: forwards, forwards, forwards, forwards;
> 
> @keyframes a {...}
> @keyframes b {...}
> 
> I don't think the spec[2] has enough information to describe whether this should work in the static case, and what happens in the face of a change in the value.
> 
> In the example above, it's clear what the author wants, and it works in Chrome and FF. However, what happens when the value of animation-name changes? For example, if it changed to "a, a, b, b" in the example above, which animations would keep running?

dbaron's reply at https://lists.w3.org/Archives/Public/www-style/2016May/0111.html <https://lists.w3.org/Archives/Public/www-style/2016May/0111.html> addresses this.

Simon

Received on Thursday, 12 May 2016 19:23:57 UTC