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

Re: Gradient syntax (was Re: [CSSWG] Minutes and Resolutions 2009-08-12)

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 14 Aug 2009 09:57:05 +1200
Message-ID: <11e306600908131457x5beebe35nf63bfcb69510aead@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "www-style@w3.org" <www-style@w3.org>
On Fri, Aug 14, 2009 at 9:55 AM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Fri, Aug 14, 2009 at 9:54 AM, Robert O'Callahan <robert@ocallahan.org>wrote:
>
>> Oops, I should have read that before posting. Yes, if we can disambiguate
>> points, colors and angles then this is very good...
>>
>
> Except that radial-gradient(white 1px 2px 3px, blue 4px 5px 6px) is pretty
> confusing...
>

What if we required the order to be <point> <color> for linear gradients and
<point> <color> <length> for radial gradients? I think that would be better.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Thursday, 13 August 2009 21:57:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:20 GMT