Bug 236758 - img element with drop-shadow filter doesn't repaint correctly on loading the image
Summary: img element with drop-shadow filter doesn't repaint correctly on loading the ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-16 23:50 PST by Fujii Hironori
Modified: 2022-10-05 19:15 PDT (History)
2 users (show)

See Also:


Attachments
test case (1.19 KB, text/html)
2022-02-16 23:50 PST, Fujii Hironori
no flags Details

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