Created attachment 110696 [details] [REDUCTION] Test Case See the attached test case. <div> <!-- width and height of this to change doesn't cause the img to resize --> <div style="width:100%; height:100%"> <img style="max-width:100%; max-height:100%> </div> </div> Workaround, forcing a style recalculation. That can be done by inspecting the element in the inspector, or removing/re-adding the element.
It seems to work fine with Safari 16.4 as well. I think this has progressed and now Safari / WebKit is matching with Chrome Canary 115 and Firefox Nightly 114. Marking this as "RESOLVED CONFIGURATION CHANGED".