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

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 UTC