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

Re: [css3-animations] Times are listed as unitless

From: Eric A. Meyer <eric@meyerweb.com>
Date: Sun, 1 May 2011 12:25:44 -0400
Message-Id: <a06230900c9e339c49d9c@[]>
To: www-style@w3.org
At 08:39 -0700 5/1/11, Tab Atkins Jr. wrote:

>The initial value of the animation-delay and animation-duration are
>both listed as '0'.  As only lengths are allowed to be unitless, this
>is an error.  They should each be either 0s or 0ms.

    Which raises the more interesting question: why are only lengths 
allowed to be unitless?  Shouldn't any value type that accepts 
numbers permit a '0' (or decimal equivalent like '0.000') with no 
unit identifier?

Eric A. Meyer (eric@meyerweb.com)     http://meyerweb.com/
Received on Sunday, 1 May 2011 16:26:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC