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:35:52 -0700
Message-Id: <111508FF-A7C6-476E-A0AA-80485DFA5DAF@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Aug 17, 2009, at 11:12 AM, fantasai <fantasai.lists@inkedblade.net>  

>> I'm talking about a situation like:
>> linear-gradient(top to top / green, blue)
>> If something analogous was expressed in SVG, it would just be a big
>> blue image, since blue was the furthest color stop.  Right now in my
>> proposal it's invalid.
> Makes sense to me, because you can't derive an angle from that.
> The transition would take zero distance but without a definite
> angle, there are infinite gradients that fit that description.

If you get rid of the unneccesary bg-position and 'to' part, and just  
have a single keyword, then this odd situation does not arrise. 
Received on Monday, 17 August 2009 20:36:41 UTC

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