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

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

From: Simon Fraser <smfr@me.com>
Date: Mon, 02 May 2011 15:27:06 -0700
Cc: "Eric A. Meyer" <eric@meyerweb.com>, "www-style@w3.org" <www-style@w3.org>
Message-id: <0EB1D9A7-FFDB-4D8B-A452-6D3151DCA69C@me.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
On May 2, 2011, at 12:17 PM, Sylvain Galineau wrote:

> I also brought this up [1] and it seems Gradients assume zero angles
> require a unit.
> Given the precedent, I agree it would be more author-friendly if zero 
> was allowed to have no unit everywhere. But even as someone who doesn't
> write CSS parsers for a living, I am not sure the convenience is worth
> the bug-prone ambiguity or more complex value syntax that can result. On
> balance, making length the exception - on historical grounds and because
> it is the most-used value type - does not seem unreasonable. But it does 
> feel icky.

I'm strongly in favor of unitless zero everywhere. As an author, I wouldn't be able to remember where I need units and where I do not if the rules differ for different values.

Received on Monday, 2 May 2011 22:27:35 UTC

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