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

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 UTC