[whatwg] Canvas gradients color interpolation - change to premultiplied?

Simon Fraser smfr at me.com
Fri Nov 26 20:39:23 PST 2010


On Nov 26, 2010, at 6:38 PM, Boris Zbarsky <bzbarsky at MIT.EDU> wrote:

> On 11/26/10 4:09 PM, Simon Fraser wrote:
>> This would be hard for WebKit, which relies on Core Graphics for gradients
>> on some platforms. CG doesn't allow us to interpolate in premultiplied
>> space.
> 
> But CSS gradients are already requiring interpolation in premutiplied space, right?

I think you're thinking of CSS Transitions, which we decided should run in premultiplied.

Simon



More information about the whatwg mailing list