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

Simon Fraser smfr at me.com
Fri Nov 26 13:09:20 PST 2010

On Nov 23, 2010, at 12:43 PM, Tab Atkins Jr. wrote:

>  Implementors, does
> this sounds like a change you can get behind?  We already changed
> canvas shadows to match behavior with CSS shadows; this is a much
> smaller change for spec-equivalence.

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.

[Of course, some of the new radial gradient stuff is also not doable using
CG, so maybe we'll have to have a slower non-CG gradient code
path anyway].


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101126/f3c80a99/attachment-0002.htm>

More information about the whatwg mailing list