Bug 236758

Summary: img element with drop-shadow filter doesn't repaint correctly on loading the image
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ujwal.koneru, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=207586
Attachments:
Description Flags
test case none

Description Fujii Hironori 2022-02-16 23:50:47 PST
Created attachment 452330 [details]
test case

img element with drop-shadow filter doesn't repaint correctly on loading the image

1. Start Safari
2. Open the test case
3. Click 'load' button

Actual: the drop-shadow is clipped
Expected: the drop-shadow shouldn't clipped

There are some drop-shadow filter repaint issues.

Bug 207586 – CSS style 'filter: drop-shadow...' does not render correctly without repaint.
Bug 202472 – Drop-shadow filter repaints incorrectly when using CSS transitions
Bug 118411 – absolute element with drop-shadow is not repainted when relative parent moves.
Bug 196295 – Changing a drop shadow filter does not render properly outside of element boundaries
Comment 1 Radar WebKit Bug Importer 2022-02-23 15:41:58 PST
<rdar://problem/89382709>
Comment 2 Fujii Hironori 2022-05-30 23:59:38 PDT
I tested bug#207586 comment#8 patch, and confirmed it fixes comment#0 problem.
But, there is another bug in this test case. Clicking 'unload' button doesn't disappear the image.
Comment 3 Fujii Hironori 2022-10-05 19:15:31 PDT
*** Bug 236609 has been marked as a duplicate of this bug. ***