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

Re: radial-gradient() proposal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 3 Nov 2009 20:54:40 -0800
Message-ID: <dd0fbad0911032054k511102e4n7887767067a7bf57@mail.gmail.com>
To: Ryan Seddon <seddon.ryan@gmail.com>
Cc: robert@ocallahan.org, www-style list <www-style@w3.org>
On Tue, Nov 3, 2009 at 7:41 PM, Ryan Seddon <seddon.ryan@gmail.com> wrote:
> On Tue, Nov 3, 2009 at 10:21 PM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>>
>> On Sat, Sep 5, 2009 at 1:53 PM, Tab Atkins Jr. <jackalmage@gmail.com>
>> wrote:
>>>
>>> I'm finally happy with my radial-gradient() syntax.  You can view it
>>> at http://www.xanthir.com/:4bhipd (scroll down past the
>>> linear-gradient() examples).
>>
>>
>> We landed an implementation of this spec on Firefox trunk today --- with a
>> -moz prefix, of course --- so it'll be in the latest nightly build by now.
>> We think it's pretty complete. So people who want to experiment with this in
>> a browser can now do so. Feedback appreciated.
>
> Why was linear-gradient, radial-gradient decided? To me it would make more
> sense to have the syntax as gradient-linear, gradient-radial,
> gradient-repeating-radial etc. They're all gradients and would make more
> sense, especially if scanning a CSS document you could determine a lot
> quicker that those styles are all gradients.

SVG uses <linearGradient> and <radialGradient> already, so it's nice
to conform to the existing naming scheme (modulo the CSS preference
for dashes over camelCase).

~TJ
Received on Wednesday, 4 November 2009 04:55:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT