- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 9 May 2011 12:06:09 -0700
- To: Sylvain Galineau <sylvaing@microsoft.com>
- Cc: David Singer <singer@apple.com>, "www-style@w3.org" <www-style@w3.org>
On Fri, May 6, 2011 at 10:31 AM, Sylvain Galineau <sylvaing@microsoft.com> wrote: > Not sure this is what you're looking for but gradients need angles to > have a unit for all values including 0. See http://lists.w3.org/Archives/Public/www-style/2009Nov/0043.html. Gradients no longer have this requirement, for what it's worth, due to unrelated simplifications to the syntax of both types of gradients. That said, I'm still definitely on the side that unitless zeros should always mean a length, and that all other units must be explicitly written even on 0. As already stated, the 'animation' shorthand requires a unit on zero times to avoid ambiguity, and some properties like 'height' require a unit on zero percentages as they have a different behavior in some circumstances from zero lengths. ~TJ
Received on Monday, 9 May 2011 19:06:57 UTC