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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 11 Apr 2011 22:27:35 -0700
To: Antony Kennedy <antony@silversquid.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20110412052735.GA15115@pickering.dbaron.org>
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 05:28:05 GMT

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