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

[css3-animations] Parsing of time values in animation shorthand

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Wed, 12 Oct 2011 15:48:38 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.v28rbch1bunlto@oyvinds-desktop>
http://dev.w3.org/csswg/css3-animations/#the-animation-shorthand-property-

"Note that order is important in this property. The first value that can  
be parsed as a time is assigned to the animation-duration. The second  
value that can be parsed as a time is assigned to animation-delay."

This wording is inaccurate. Clearly,

animation: foo 1s, bar 2s;

should give

animation-duration: 1s, 2s;
animation-delay: 0s;
[...]

and not

animation-duration: 1s;
animation-delay: 2s;
[...]

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Wednesday, 12 October 2011 13:49:08 GMT

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