Re: [css3-images] Gradients feedback

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