W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: [css3-transitions][css3-values] transition-duration's inital value is '0' without a unit

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 22 Oct 2010 19:06:25 -0700
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <20101023020625.GA6861@pickering.dbaron.org>
On Friday 2010-10-22 23:40 +0000, Sylvain Galineau wrote:
> So either the former picks a unit or we extend the optional-unit-for-zero exception of <length> 
> to times for consistency. Although in the latter case it would seem coherent to do the same for
> frequencies and angles as well. It's the bigger change but I lean towards the latter. It'd be
> odd if width:0 was valid but not transition-duration:0 or transform:rotate(0). (Although that
> ship may already have sailed, implementation-wise...).

The gradient syntax depends on unitless zero not being allowed for
angles.  See the thread starting with
http://lists.w3.org/Archives/Public/www-style/2009Nov/0043.html .  I
believe we agreed on that at some point following the thread, though
I'm not sure.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 23 October 2010 02:06:58 UTC

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