- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 30 Aug 2010 11:40:46 -0400
- To: Alan Gresley <alan@css-class.com>
- CC: www-style list <www-style@w3.org>
On 8/30/10 9:54 AM, Alan Gresley wrote: > In other words, the midway point of this gradient, > > <div style="background:-moz-linear-gradient(left, yellow, > transparent)"></div> > > is the same as this opaque color. > > <div style="background:#808000;opacity:0.5;"></div> If the interpolation is performed in non-premultiplied space, yes. In premultiplied space, as I said, it's "background: #ffff00; opacity: 0.5". Which is what the discussion is about. > I believe Boris is correct in the mathematics. Thanks, I try! -Boris
Received on Monday, 30 August 2010 15:41:20 UTC