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

Re: Talk on radial gradients

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 25 Aug 2009 10:02:30 -0700
Message-ID: <11e306600908251002yc5db33bxd16a7650db4dc481@mail.gmail.com>
To: David Perrell <davidp@hpaa.com>
Cc: www-style list <www-style@w3.org>
On Tue, Aug 25, 2009 at 8:27 AM, David Perrell <davidp@hpaa.com> wrote:

> In the case of linear gradients, the repeating moz gradient example* can
> easily be reproduced with Tab's proposal by generating a corner-to-corner
> diagonal gradient 'image' and tiling it.

That only works if the angle is a multiple of 45 degrees. Anything else
gives you undesirable results.

 It's not clear to me how the moz repeating radial gradient is rendered. If
> the scale of the gradient remains constant as it repeats outwards then it
> does not strike me as useful.

I'm not sure why you say that. We render repeating radial gradients the way
SVG does. For the simple case where the inner circle is a point and the
outer circle has the same center and radius R, that means you get color of
the last color stop at at R, 2R, 3R etc.

"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 Tuesday, 25 August 2009 17:03:10 UTC

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