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

Re: radial-gradient() proposal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 6 Sep 2009 19:39:07 -0500
Message-ID: <dd0fbad0909061739s3b47d7aag5f0d4bf93c59d858@mail.gmail.com>
To: David Perrell <davidp@hpaa.com>
Cc: www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:39 UTC