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

[css3-animations] parsing issues with 'animation' shorthand and 'animation-name'

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 11 Apr 2011 20:10:38 -0700
To: www-style@w3.org
Message-ID: <20110412031038.GA13267@pickering.dbaron.org>
The definition of the 'animation' shorthand property in
http://dev.w3.org/csswg/css3-animations/#the-animation-shorthand-property-
should (in addition to saying order is important for
animation-duration vs. animation-delay) also mention that
animation-name must be checked last, so that the keyword values for
all of the other properties are not interpreted as an
animation-name.

(It might also be worth reminding implementors that reserializing
the 'animation' shorthand unambiguously may require both (a) putting 
'animation-name' last and (b) explicitly giving values for all the
keyword-valued properties, even when they are at their defaults.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 12 April 2011 03:11:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT