W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Re: Gradient syntax proposal

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 17 Aug 2009 11:00:07 -0700
Message-ID: <4A899AA7.4010403@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Tab Atkins Jr. wrote:
> (Not quite true, actually - now that I've allowed lengths in
> color-stops, it's possible for you to use "in" on one stop, "px" on
> another, and "em" on a third, thus producing an ordering that can vary
> wildly based on pixel size and text size.  At that point you're really
> digging your own grave, though - you can screw up your design in a
> million different ways by mixing different classes of lengths, and I
> don't feel it important to protect you from doing so in this one
> circumstance.  You still can't mix lengths and %, though, which would
> be the primary cause of order-switching, so I'm content.)

I would prefer restricting stops to percentages. The swapping effect
is confusing, and I don't see any reason you'd /need/ to use lengths
when you can specify the length of the overall gradient already.

Received on Monday, 17 August 2009 18:00:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC