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

Re: Gradient syntax proposal

From: Brad Kemper <brad.kemper@gmail.com>
Date: Mon, 17 Aug 2009 13:42:52 -0700
Message-Id: <01A121F3-6494-42CA-9052-F909CB8CFBE8@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>

Sent from my iPhone

On Aug 17, 2009, at 11:00 AM, fantasai <fantasai.lists@inkedblade.net>  

> 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.

I can think of plenty of situations where  I'd want the whole gradient  
to be a fixed distance, regardless of box size, and regardless of  
angle. I'd like to be able to set that in a simple grammar, using  
color-stops only. It's not nearly as simple if the angle is not a  
multiple of 90, and I have to use bg-position. 
Received on Monday, 17 August 2009 20:43:47 UTC

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