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

Re: Repeating gradients (Was: Re: Talk on radial gradients)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 25 Aug 2009 12:01:54 -0500
Message-ID: <dd0fbad0908251001nf6a506egce38d32ce9752588@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: robert@ocallahan.org, Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
On Tue, Aug 25, 2009 at 11:54 AM, Brad Kemper<brad.kemper@gmail.com> wrote:
> I downloaded the Firefox nightly to see what ti was doing. Here's a
> screenshot (attached, if you don't see it inline):

The behavior of the last example is strange, and probably unwanted,
where it runs more color-stops *inside* of the starting-circle.  It
makes it basically impossible to have an image start with a
solid-color starting-circle.

It appears that the radial-gradient repeat case is done by shifting
the center and growing the radius by the absolute difference between
the two original circles, then the stops are just spammed into the
open space at the percentages specified.

Received on Tuesday, 25 August 2009 17:02:54 UTC

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