REGRESSION (r105401-105403): Blue flash on css border transition
authoralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Feb 2012 18:21:22 +0000 (18:21 +0000)
committeralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Feb 2012 18:21:22 +0000 (18:21 +0000)
commit4c76b63590b5203d24548634b77049df97e491ee
tree241d50563a68c1a150d262bfcc52c36fb05992e8
parentaa9600c68da0a883eaeff370a3bbe67770e3e94d
REGRESSION (r105401-105403): Blue flash on css border transition
https://bugs.webkit.org/show_bug.cgi?id=77491

Reviewed by Simon Fraser.

Source/WebCore:

The new blend function added with r105403 takes unsigned as parameters therefore
we have to be careful to not overflow in case the to is less than from (animating
from 400 to 0 for example).

Test: animations/animation-border-overflow.html

* platform/animation/AnimationUtilities.h:
(WebCore::blend):

LayoutTests:

* animations/animation-border-overflow-expected.txt: Added.
* animations/animation-border-overflow.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/animations/animation-border-overflow-expected.txt [new file with mode: 0644]
LayoutTests/animations/animation-border-overflow.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/animation/AnimationUtilities.h