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

Re: Gradients by angle (was Re: [CSSWG] Minutes and Resolutions 2009-08-12)

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

> On Friday 2009-08-14 10:27 +1200, Robert O'Callahan wrote:
> > I don't see the problem here. This is what you asked for, and I think
> people
> > will ask for.
> I think the problem is that people will want gradients-by-angle that
> are symmetric in their relation to the box edges, and probably ones
> that cover the whole box as well.


Then I suggest we just require two points and allow an optional angle as
well. Linear gradients really have "start lines" and "end lines"; we define
the start line of the gradient as the line that passes through the start
point which is perpendicular to the given angle, and the end line of the
gradient is the line that passes through the end point which is
perpendicular to the given angle. The angle defaults to the angle of the
line from the start point to the end point.

"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 22:45:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:28 UTC