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

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

From: Christopher Robert Jaquez <crjaquez@gmail.com>
Date: Thu, 13 Aug 2009 18:21:39 -0400
Message-ID: <ceaa83f00908131521v5476e84bw4ba2906dcdffe7f6@mail.gmail.com>
To: robert@ocallahan.org
Cc: "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
On Thu, Aug 13, 2009 at 5:57 PM, Robert O'Callahan<robert@ocallahan.org> wrote:
> 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.
>

I like that.  And for a linear gradient, the end value could
optionally be <angle> <color> <length>

> 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 22:22:36 GMT

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