[cairo] Doesn't paint box-shadow with zero blur-radius
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Jul 2018 03:18:55 +0000 (03:18 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Jul 2018 03:18:55 +0000 (03:18 +0000)
commit9bdff3e4d0936497dff8365f915db8e0e47955d0
tree8c7a3e34bf35d1393292c1e3ad27820c9a420faa
parentd357edf8d5ce6c41fc7b3d9aff804bab5958a5b6
[cairo] Doesn't paint box-shadow with zero blur-radius
https://bugs.webkit.org/show_bug.cgi?id=187244

Reviewed by Žan Doberšek.

Source/WebCore:

Cairo::ShadowState::isRequired() returned false if blur-radius is
zero.

No new tests (Covered by existing tests).

* platform/graphics/cairo/CairoOperations.cpp:
(WebCore::Cairo::ShadowState::isRequired const): Do not check blur
is zero.

LayoutTests:

* platform/gtk/fast/box-shadow/inset-expected.png: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/gtk/fast/box-shadow/inset-expected.png
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cairo/CairoOperations.cpp