RESOLVED FIXED 34383
Do color animations on premultiplied colors
https://bugs.webkit.org/show_bug.cgi?id=34383
Summary Do color animations on premultiplied colors
Simon Fraser (smfr)
Reported 2010-01-30 18:37:39 PST
Per <http://lists.w3.org/Archives/Public/www-style/2009Jul/0048.html>, we should interpolate colors by first converting them to premultiplied alpha. This avoids the 'fade through gray' when animating from 'transparent' to an opaque color.
Attachments
Patch (5.05 KB, patch)
2010-01-30 18:39 PST, Simon Fraser (smfr)
adele: review+
Simon Fraser (smfr)
Comment 1 2010-01-30 18:39:32 PST
mitz
Comment 2 2010-01-30 18:45:41 PST
Comment on attachment 47779 [details] Patch It’s scary that Color can be either premultiplied or non-premultiplied.
Simon Fraser (smfr)
Comment 3 2010-01-30 19:22:05 PST
Simon Fraser (smfr)
Comment 4 2010-03-23 17:09:20 PDT
*** Bug 34334 has been marked as a duplicate of this bug. ***
Dirk Schulze
Comment 5 2010-03-23 23:58:30 PDT
Why not fixing premultipliedARGBFromColor directly? It affects other parts (mainly Cairo for what it was introduced) too.
Dirk Schulze
Comment 6 2010-03-24 00:00:29 PDT
premultipliedARGBFromColor is related to bug 30333
Note You need to log in before you can comment on or make changes to this bug.