2010-01-30 Simon Fraser <simon.fraser@apple.com>
Reviewed by Adele Peterson. Do color animations on premultiplied colors https://bugs.webkit.org/show_bug.cgi?id=34383 Convert colors to premultiplied alpha before interpolating them, then convert the result back to non-premultiplied. This gives better results when animating from transparent colors. Test: transitions/color-transition-premultiplied.html * page/animation/AnimationBase.cpp: (WebCore::blendFunc): git-svn-id: svn://svn.chromium.org/blink/trunk@54106 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment