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.
<rdar://problem/108999062>
Thank you for this great test reduction!
Created attachment 466280 [details] Test reduction(2)
regressed by a blink code merge at 259497@main
@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. :-)
Reverted (for time being) - https://commits.webkit.org/263818@main
If I'm reason this correctly, this bug is fixed by the revert, and should be in RESOLVED/FIXED state. Is that right?
(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. :-)