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

Re: [css3-transitions][css3-animations] times written as '0'

From: Antony Kennedy <antony@silversquid.com>
Date: Tue, 12 Apr 2011 05:51:07 +0100
Message-Id: <F6ECAD94-F726-4966-8D4F-D2BC22A11A45@silversquid.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: "L. David Baron" <dbaron@dbaron.org>
Zero values never require units, and never should. 

A


On 12 Apr 2011, at 04:13, "L. David Baron" <dbaron@dbaron.org> wrote:

> The definitions of 'transition-duration', 'transition-delay',
> 'animation-duration' and 'animation-delay':
> http://dev.w3.org/csswg/css3-transitions/#the-transition-duration-property-
> http://dev.w3.org/csswg/css3-transitions/#the-transition-delay-property-
> http://dev.w3.org/csswg/css3-animations/#the-animation-duration-property-
> http://dev.w3.org/csswg/css3-animations/#the-animation-delay-property-
> mention '0' as a value for the property (both in the "Initial Value"
> field and in the prose).  Times in CSS require units, so they should
> instead mention '0s'.
> 
> -David
> 
> -- 
> L. David Baron                                 http://dbaron.org/
> Mozilla Corporation                       http://www.mozilla.com/
> 
Received on Tuesday, 12 April 2011 05:14:15 GMT

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