GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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.
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.