Bug 266383 - [Filters] GraphicsContext filters have to apply clipping to the target context before drawing
Summary: [Filters] GraphicsContext filters have to apply clipping to the target contex...
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:
 
Reported: 2023-12-13 17:48 PST by Said Abou-Hallawa
Modified: 2023-12-14 15:35 PST (History)
4 users (show)

See Also:


Attachments
test case (505 bytes, text/html)
2023-12-13 17:48 PST, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2023-12-13 17:48:52 PST
Created attachment 469030 [details]
test case

Open the attached test case.

Result: The green rectangle with the drop shadow filter is not clipped to its parent bounding box.
Note: The green rectangle has to be clipped to its parent bounding box since the parent has overflxow: hidden in its style.

The bug is not reproduced if "GraphicContext Filter Rendering" is disabled.
Comment 1 Said Abou-Hallawa 2023-12-13 17:49:10 PST
rdar://118522654
Comment 2 Said Abou-Hallawa 2023-12-13 18:04:05 PST
Pull request: https://github.com/WebKit/WebKit/pull/21775
Comment 3 EWS 2023-12-14 15:34:49 PST
Committed 272078@main (ddf4bec3e947): <https://commits.webkit.org/272078@main>

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