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 16:45:52 +0100
Message-Id: <BFC8EE7A-7292-40D7-9689-33440753CF11@silversquid.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: "L. David Baron" <dbaron@dbaron.org>
Really? Why not? Duration is not a relative value like pressure or temperature… zero is unambiguous with or without a unit. 



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

> On Tuesday 2011-04-12 05:51 +0100, Antony Kennedy wrote:
>> Zero values never require units, and never should. 
> 
> That's only true for lengths, and not for other units.
> 
> For more details, see this thread:
> http://lists.w3.org/Archives/Public/www-style/2009Nov/thread.html#msg43
> and a later one that I can't seem to find right now.  The working
> group resolved that the unitless zero rule applies only to lengths
> (as CSS2 has said since 1998), and '0' is special-cased inside the
> arguments to certain transform functions.
> 
> -David
> 
> -- 
> L. David Baron                                 http://dbaron.org/
> Mozilla Corporation                       http://www.mozilla.com/
> 
Received on Tuesday, 12 April 2011 15:46:44 GMT

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