NEW258346
Using keyframe animation with box-shadow causes slowdown due to constant layout calls.
https://bugs.webkit.org/show_bug.cgi?id=258346
Summary Using keyframe animation with box-shadow causes slowdown due to constant layo...
Paul Connolly
Reported 2023-06-21 02:56:20 PDT
Created attachment 466774 [details] Test Case showing the animation issue with box-shadow When using an animation that animates the box-shadow CSS property, performance on Webkit 265348@main, Safari on macOS, iOS etc. is affected due to constant "Styles Invalidated" calls, and Layout / Paint calls. Test case attached.
Attachments
Test Case showing the animation issue with box-shadow (1.04 KB, text/html)
2023-06-21 02:56 PDT, Paul Connolly
no flags
Simon Fraser (smfr)
Comment 1 2023-06-21 12:00:37 PDT
Box shadow affects visual overflow, so we have to do some kind of layout to recompute this.
Radar WebKit Bug Importer
Comment 2 2023-06-21 12:00:58 PDT
Note You need to log in before you can comment on or make changes to this bug.