- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Mon, 25 Oct 2010 17:11:49 -0700
- To: Sylvain Galineau <sylvaing@microsoft.com>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "L. David Baron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>
On Oct 25, 2010, at 12:24 PM, Sylvain Galineau <sylvaing@microsoft.com> wrote: >> Units other than lengths aren't used very commonly anyway, so it's a >> minority use-case in the first place. >> >> So, I don't see much utility in changing this; given that, I'd prefer >> to make it easier to resolve shorthands. > > This, I think, is one good reason to limit this pattern to lengths. > The more units accept unitless zeroes, the likelier parsing ambiguities > might occur in future shorthands. It's already true for non-zero values, > after all. Personally, I'd prefer that other units be consistent with lengths in this regard, and allow zero to mean zero of any any and units, rather that make less experienced authors wonder what the special rule is for some properties to allow unit-less zeros and not others (after spending time isolating the problem). Can't we just create syntaxes in which zero is always unambiguous?
Received on Tuesday, 26 October 2010 00:12:52 UTC