Bug 261856 - [Filters] Filters with outsets have to repaint all the filterRegion if GraphicsStyles are used
Summary: [Filters] Filters with outsets have to repaint all the filterRegion if Graphi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks: 261925
  Show dependency treegraph
 
Reported: 2023-09-20 19:15 PDT by Said Abou-Hallawa
Modified: 2023-09-21 17:59 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.