RE: Talk on radial gradients

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