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

[css-animations][Editorial?] Do keyframes cascade or not?

From: Lea Verou <lea@verou.me>
Date: Mon, 11 Aug 2014 07:38:51 +0300
Message-Id: <837E888F-7F72-4C16-A4E2-A4A371643443@verou.me>
To: www-style list <www-style@w3.org>
I think this is caused by the recent (?) changes in how @keyframes cascade. In the Keyframes section, the ED says:

> To determine the set of keyframes, all of the values in the selectors are sorted in increasing order by time. If there are any duplicates, then the last keyframe specified inside the @keyframes rule will be used to provide the keyframe information for that time. There is no cascading within a @keyframes rule if multiple keyframes specify the same keyframe selector values.

However, in the example right above it (example 2) the keyframes *do* cascade. Also, immediately after it:

> If a property is not specified for a keyframe, or is specified but invalid, the animation of that property proceeds as if that keyframe did not exist. 

And earlier:

> Issue: Need to describe what happens if a property is not present in all keyframes.

Am I missing something or all all these excerpts conflicting?

Btw Firefox seems to be the only one that does cascade keyframes, Chrome and IE do not [2].

[1]: http://dev.w3.org/csswg/css-animations/#keyframes
[2]: http://dabblet.com/gist/f4dd6ad6b18b02e20bcf
[3]: https://github.com/daneden/animate.css/blob/master/animate.css#L55

Lea Verou ✿ http://lea.verou.me ✿ @leaverou
Received on Monday, 11 August 2014 04:39:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 11 August 2014 04:39:22 UTC