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

RE: Talk on radial gradients

From: David Perrell <davidp@hpaa.com>
Date: Tue, 25 Aug 2009 08:27:24 -0700
To: "www-style list" <www-style@w3.org>
Robert O'Callahan  wrote:
 An ending-circle is necessary if you're going to support repeating radial gradients, which I think we should. -moz-radial-gradient supports them, and they're pretty cool.
The moz gradients are cool, but as spec'd they don't act like 'browser-generated images'. The way they're affected by background-repeat perverts the function of background-repeat as an image tiling mechanism. If directional repetition is important it should be an option in the gradient 'image' generation (with background-repeat used for tiling the generated image). Revising background-repeat to affect directional repetition of the gradient would preclude other effects that might also be very useful.

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.

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.

- davidp 

* https://developer.mozilla.org/en/CSS/Gradients
Received on Tuesday, 25 August 2009 15:28:17 UTC

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