Re: radial-gradient() proposal

OMIGOD IT'S FINALLY DONE.

http://www.xanthir.com/test.php?width=200&height=100&radial-gradient=top
20px left 20%, ellipse cover, yellow 20px, green, red, blue

Or, properly escaped:
http://www.xanthir.com/test.php?width=200&height=100&radial-gradient=top%2020px%20left%2020%,%20ellipse%20cover,%20yellow%2020px,%20green,%20red,%20blue

It doesn't do full error-testing or anything, but it should accept
very nearly a complete set of CSS syntax in there.  Qualifiers: on
lengths, use px only - I don't have support for any other length type.
 For colors, either use svg color names, or hex values *without the #
in front*.  I didn't want to put in the work to parse an rgb() value.

Tomorrow I'll go and make examples.  For now I'm gonna go relax - that
represents about 12 hours of work.

~TJ

Received on Monday, 7 September 2009 00:40:02 UTC