1REGRESSION (299603@main): Inset box-shadow not rendered when spread is larger than element
2https://bugs.webkit.org/show_bug.cgi?id=300477
3<rdar://problem/162373297>
4
5Reviewed by NOBODY (OOPS!).
6
7When the inset shadow fully covers the box (i.e., the inner hole rect becomes zero),
8we should paint the outer shape (the full rect) rather than the zero rect.
9(Note that the inner rect is never the (inset) shadow itself).
10
11Test: fast/box-shadow/inset-shadow-large-spread2.html
12
13* LayoutTests/fast/box-shadow/inset-shadow-large-spread2-expected.html: Added.
14* LayoutTests/fast/box-shadow/inset-shadow-large-spread2.html: Added.
15* Source/WebCore/rendering/BackgroundPainter.cpp:
16(WebCore::BackgroundPainter::paintBoxShadow const):