W3C home > Mailing lists > Public > www-style@w3.org > January 2011

Re: [CSS3] support for linear-gradients & radial-gradients

From: Simon Fraser <smfr@me.com>
Date: Mon, 10 Jan 2011 20:54:16 -0800
Cc: Peter Beverloo <peter@lvp-media.com>, Irfan Mir <theirf@gmail.com>, www-style@w3.org
Message-id: <DA89C052-33A6-4D26-BF73-9E051CC555ED@me.com>
To: Alan Gresley <alan@css-class.com>
On Jan 10, 2011, at 8:47 pm, Alan Gresley wrote:

> On 11/01/2011 5:35 AM, Peter Beverloo wrote:
> 
>> Both Gecko as WebKit have implemented the gradients, both are using
>> vendor prefixes.
>> 
>> -webkit-linear-gradient / -moz-linear-gradient
>> -webkit-repeating-linear-gradient / -moz-repeating-linear-gradient
>> -webkit-radial-gradient / -moz-radial-gradient
>> -webkit-repeating-radial-gradient / -moz-repeating-radial-gradient
>> 
>> Mozilla has published excellent documentation for the properties as
>> well:
>> 
>> https://developer.mozilla.org/en/CSS/-moz-linear-gradient
>> https://developer.mozilla.org/en/CSS/-moz-repeating-linear-gradient
>> https://developer.mozilla.org/en/CSS/-moz-radial-gradient
>> https://developer.mozilla.org/en/CSS/-moz-repeating-radial-gradient
>> 
>> Kind regards, Peter Beverloo
> 
> 
> Hello Peter,
> 
> Which version of WebKit supports that syntax? I testing with the current release version 7533.19.4 (Safari 5.0.3) which uses something like this.
> 
> -webkit-gradient(linear, right center, left center, from(red), to(blue));

The latest nightly build has support for  the new syntax, as -webkit-linear-gradient() etc.

Simon
Received on Tuesday, 11 January 2011 04:55:15 GMT

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