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

Re: 'animation' and 'transition' ambiguity?

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 20 Jan 2011 14:40:40 -0800
To: "Eric A. Meyer" <eric@meyerweb.com>
Cc: www-style@w3.org
Message-ID: <20110120224040.GA14992@pickering.dbaron.org>
On Thursday 2011-01-20 17:31 -0500, Eric A. Meyer wrote:
> How can UAs know which time value is the delay and which is the
> duration?  As far as I know, '||' still means "any number of these
> can occur in any order" (see
> http://www.w3.org/TR/css3-syntax/#property-def-value).

In the css3-transitions spec, there's additional prose that says:
  # Note that order is important in this property. The first value
  # that can be parsed as a time is assigned to the
  # transition-duration. The second value that can be parsed as a
  # time is assigned to transition-delay. 
  http://dev.w3.org/csswg/css3-transitions/#the-transition-shorthand-property-

The css3-animations spec needs similar wording.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 20 January 2011 22:41:11 GMT

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