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 HugoReceived on Tuesday, 11 January 2011 13:04:32 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:54 UTC