RESOLVED FIXED 256413
(REGRESSION 259497@main) Incorrect rerender when element with box-shadow and height:auto changes size
https://bugs.webkit.org/show_bug.cgi?id=256413
Summary (REGRESSION 259497@main) Incorrect rerender when element with box-shadow and ...
me
Reported 2023-05-06 00:55:10 PDT
Created attachment 466243 [details] Reproduction code When an element that: - has `box-shadow` - is `height: auto` - its content changes size - has non-zero `padding` part of the element does not get rerendered, resulting in a visual artifact This can be reproduced with the attached file, simply by hovering on the blue part. Screenshot: https://i.imgur.com/81vzF8t.png This is observed on Safari 16.4 only (and Safari Technical Preview, Release 169, WebKit 18616.1.12.2), not on Safari 16.3. And on MacBook Pro M2 and iPad Pro M1, but not on iPhone 12. It seems that X px of box-shadow offset-y creates such an erroneous area of (2*X) px.
Attachments
Reproduction code (772 bytes, text/html)
2023-05-06 00:55 PDT, me
no flags
Test reduction(2) (475 bytes, text/html)
2023-05-08 08:19 PDT, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2023-05-06 21:36:32 PDT
zalan
Comment 2 2023-05-06 21:38:26 PDT
Thank you for this great test reduction!
zalan
Comment 3 2023-05-08 08:19:11 PDT
Created attachment 466280 [details] Test reduction(2)
zalan
Comment 4 2023-05-08 08:42:24 PDT
regressed by a blink code merge at 259497@main
Ahmad Saleem
Comment 5 2023-05-08 09:24:56 PDT
@Simon - Thanks for CCing. Let me try to do some stuff on local and if I am able to fix it. I will push updated PR else I will revert it. :-)
Ahmad Saleem
Comment 6 2023-05-08 13:16:35 PDT
Reverted (for time being) - https://commits.webkit.org/263818@main
Alexey Proskuryakov
Comment 7 2023-05-08 15:28:26 PDT
If I'm reason this correctly, this bug is fixed by the revert, and should be in RESOLVED/FIXED state. Is that right?
Ahmad Saleem
Comment 8 2023-05-08 15:40:07 PDT
(In reply to Alexey Proskuryakov from comment #7) > If I'm reason this correctly, this bug is fixed by the revert, and should be > in RESOLVED/FIXED state. Is that right? Yes - we can. :-) I will try to fix original test case in now 'REOPENED' bug. :-)
Note You need to log in before you can comment on or make changes to this bug.