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 11:25:25 +1200
Message-ID: <11e306600908131625g77214397w767af7359ddf9bf1@mail.gmail.com>
To: CRJaquez@gmail.com
Cc: "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
On Fri, Aug 14, 2009 at 11:21 AM, Christopher Robert Jaquez <
crjaquez@gmail.com> wrote:

>  Robert O'Callahan wrote:
> On Fri, Aug 14, 2009 at 10:21 AM, Christopher Robert Jaquez <
> crjaquez@gmail.com> wrote:
>> I like that.  And for a linear gradient, the end value could
>> optionally be <angle> <color> <length>
>  That would just be <angle> <color>.
> Not necessarily.  I intended <angle> <color> <length> as that is what is
> required to determine the point.  Otherwise, you have the direction but
> where do you stop?  The stop point is essentially a polar coordinate
> centered at the start point in this case.

Yes, but specifying a length here isn't very useful for authors.

A better approach would be to specify the <angle> *and* a point through
which the end line must pass, which is what we're talking about on the other

"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
Received on Thursday, 13 August 2009 23:26:09 UTC

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