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

Re: Comments on gradients proposal

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 20 Oct 2009 17:41:32 +1300
Message-ID: <11e306600910192141t3660dfe5k419b64570f293c2@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style <www-style@w3.org>
On Tue, Oct 20, 2009 at 5:27 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Mon, Oct 19, 2009 at 11:16 PM, Robert O'Callahan
> <robert@ocallahan.org> wrote:
> >> The end point is the point on the gradient-line where a line drawn
> >> perpendicular from that point would cross the furthest corner of the
> box.
> >
> > What if the starting point is equidistant from two "furthest corners" of
> the
> > box?
>
> That language may have to be cleaned up slightly.  Are you thinking of
> a case like, say, a 100px by 100px box with the starting-point at 50px
> 50px (so the starting-point is equidistant from all corners)?  What's
> intended is that the "furthest corner" is the furthest *in the
> direction of the gradient-line*.  It's still possible for this to  be
> ambiguous as to which corner is referred to (frex, take the above box
> and starting-point with an angle of 0deg, so that the NE and SE corner
> are equally far), but in these cases the ending-point is the same no
> matter which corner you choose.
>

Ah, that is confusing because except for 0/90/180/270 degree angles, there
is only one corner "in the direction of the gradient line". Right?

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 Tuesday, 20 October 2009 04:42:08 GMT

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