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

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

From: Alan Gresley <alan@css-class.com>
Date: Wed, 12 Jan 2011 00:03:54 +1100
Message-ID: <4D2C553A.4010404@css-class.com>
To: Simon Fraser <smfr@me.com>
CC: Peter Beverloo <peter@lvp-media.com>, Irfan Mir <theirf@gmail.com>, www-style@w3.org
On 11/01/2011 3:54 PM, Simon Fraser wrote:
> On Jan 10, 2011, at 8:47 pm, Alan Gresley wrote:

>> 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


Hello Simon,

With the new syntax, does WebKit show gradients from a <color> to 
transparent un-premultiplied like the old syntax does? From yellow to 
transparent there were these steps,

   rgba(255, 255, 0, 1);}
   rgba(191, 191, 0, 0.75);}
   rgba(127, 127, 0, 0.5);}
   rgba(63, 63, 0, 0.25);}
   rgba(0, 0, 0, 0);}


which is interpolation in un-premultiplied space. In an old list message 
[1] you were leaning towards interpolation in premultiplied space as you 
mentioned here?


1. <http://lists.w3.org/Archives/Public/www-style/2010Sep/0316.html>


-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Tuesday, 11 January 2011 13:04:32 GMT

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