The bounding box of a target element might all be clipped. But a filter effect, like drop shadow, may still be visible. In this case we need to redraw the whole filterRegion if GraphicsStyles are used. This case can be seen in the test: imported/w3c/web-platform-tests/css/filter-effects/filters-drop-shadow-003.html. This test case has the bounding box of a target element outside the viewport but its shadow is displayed inside the viewport.
<rdar://problem/115817290>
Pull request: https://github.com/WebKit/WebKit/pull/18001
Committed 268282@main (39763b0eba70): <https://commits.webkit.org/268282@main> Reviewed commits have been landed. Closing PR #18001 and removing active labels.