Assert in mixed blend animation
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Feb 2018 23:15:08 +0000 (23:15 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Feb 2018 23:15:08 +0000 (23:15 +0000)
commit172676d10ca075ff9cd3e2eedfbc15afc77f793a
treef1ded714d379272b655bb4686740d0124164c807
parent66b4a0825d0b84d92f027fcaffb9cb44652f70d1
Assert in mixed blend animation
https://bugs.webkit.org/show_bug.cgi?id=182887
<rdar://problem/37598140>

Reviewed by Zalan Bujtas.

Test: fast/css/calc-mixed-blend-crash.html

* platform/CalculationValue.cpp:
(WebCore::CalcExpressionBlendLength::CalcExpressionBlendLength):

Fix mismatch between the type test and the value used.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/css/calc-mixed-blend-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/calc-mixed-blend-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/CalculationValue.cpp