W3C home > Mailing lists > Public > www-style@w3.org > April 2012

[css3-animations] new Working Draft of CSS Animations

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 3 Apr 2012 12:04:05 -0700
To: www-style@w3.org
Message-ID: <20120403190405.GA10000@crum.dbaron.org>
The CSS WG published an updated draft[1] of the CSS Animations module:


This module allows authors to animate the values of CSS properties over
time, using keyframes.  (The CSS Animations module allows authors to
cause changes, in contrast to the CSS Transitions module, which only
allows animating changes that are otherwise happening.)

This module updates the draft with many changes that have been made in
the editor's draft over the past few years, though a significant number
of open issues are known (perhaps including some that have already been
fixed in CSS Transitions).

The changes since the previous draft published on the TR page include:

 * [as for Transitions] new steps(), step-start, and step-end timing

 * [as for Transitions] cubic-bezier() timing function allows Y values
   outside of [0, 1]

 * clearer description of the keyframes animation model

 * describe how missing properties are handled in keyframes

 * add 'animation-fill-mode' property

 * add 'reverse' and 'alternate-reverse' values to 'animation-direction'

 * define how 'animation-duration' and 'animation-delay' are
   distinguished in the 'animation' shorthand

 * define when the animationstart event fires

 * define which animation wins when multiple animations try to animate
   the same property

 * define that 'animation-name' determines the length of lists for
   animations, and other properties are repeated as needed

 * changed insertRule method to appendRule method on CSSKeyframesRule

 * describe that animations with 0 duration still fire events and honor
   fill mode and delay

 * negative values of 'animation-iteration-count' are parse errors
   rather than being treated as 0

 * make animation events non-cancelable

See the hg log [2] for detailed changes.

Please send any comments to this mailing list, <www-style@w3.org>, and
please prefix the subject line with


as I did on this message.  But don't reply to this message; instead,
start a new thread.

For the CSS WG,
David Baron

[1] http://www.w3.org/TR/2012/WD-css3-animations-20120403/
[2] http://dvcs.w3.org/hg/csswg/log/tip/css3-animations/Overview.src.html

𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Tuesday, 3 April 2012 19:04:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:14 UTC