Feature: Implement radial-gradient for backgrounds #2

lojjic opened this Issue May 21, 2010 · 1 comment


None yet
2 participants

lojjic commented May 21, 2010

See http://dev.w3.org/csswg/css3-images/#radial-gradients

VML's "radial" gradients are actually square (they extend evenly from the edges of the shape's rectangle to the center). There is one exception: if the shape is a circle, then the gradient will also be a circle. Unfortunately our background shape is not circular.

The only possible thing I can think of is to create one or more circular shapes which contain the radial gradients, and then clip those shapes into the appropriate rounded rectangle. This could possibly be done with a compositor filter.

jocafa commented Aug 17, 2010

You might be able to simulate something using IE's Alpha filter and setting the style value to 2. Or, if you're feeling adventurous, you might be able to insert a vml ellipse with a gradient, then use the Compositor filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment