- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 29 Jul 2011 10:59:38 -0700
- To: Alan Gresley <alan@css-class.com>
- Cc: Brian Manthos <brianman@microsoft.com>, Leif Arne Storset <lstorset@opera.com>, Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Fri, Jul 29, 2011 at 5:39 AM, Alan Gresley <alan@css-class.com> wrote: > The way Opera interpolates this gradient, > > linear-gradient(red, transparent, blue) > > > suggest that internally, a double color stop (as shown below) is generated. > > rgba(255,0,0,0) 50%, rgba(0,0,255,0) 50% > > > So in affect, the keyword 'transparent' is already behaving as a switch. No. Internally, the colors are interpolated in premultiplied space. There is no switch or duplication of color-stops. ~TJ
Received on Friday, 29 July 2011 18:00:25 UTC