Bug 261856

Summary: [Filters] Filters with outsets have to repaint all the filterRegion if GraphicsStyles are used
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 261925    

Description Said Abou-Hallawa 2023-09-20 19:15:39 PDT
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.
Comment 1 Radar WebKit Bug Importer 2023-09-20 19:15:59 PDT
<rdar://problem/115817290>
Comment 2 Said Abou-Hallawa 2023-09-20 19:18:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18001
Comment 3 EWS 2023-09-21 16:26:31 PDT
Committed 268282@main (39763b0eba70): <https://commits.webkit.org/268282@main>

Reviewed commits have been landed. Closing PR #18001 and removing active labels.