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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 22 Jan 2014 16:44:26 -0800
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20140123004426.GA9632@crum.dbaron.org>
On Wednesday 2011-10-12 15:48 +0200, Øyvind Stenhaug wrote:
> 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;
> [...]

Fixed in https://dvcs.w3.org/hg/csswg/rev/d9910b5e61a6 by adding "in
each <single-animation>" to both the second and third quoted
sentences (though they're now one sentence).

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Thursday, 23 January 2014 00:45:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:13 UTC