Created attachment 465922 [details] all4browsers Max-height: 100% max-width:100% on an image are not working correctly. Test page: https://codesandbox.io/s/hungry-snow-9lvxuy?file=/index.html&resolutionWidth=464&resolutionHeight=240 On the test page make sure height of browser is smaller than height of image. The url above has that set already. In safari 16.4 the image is not sized or laid out correctly. I expect the image height to fit the height of the browser and or container when max-width=100% and max-height=100% are set. This works fine in Safari 16.3 and below as well as latest Chrome and Firefox.
<rdar://problem/108078984>
This has regressed at 259663@main but trunk has already recovered at 262342@main.
Thank you for filing this bug report! I am going to mark it as duplicate as the attached test case seems to be working on trunk now.
*** This bug has been marked as a duplicate of bug 254603 ***
Created attachment 465990 [details] STP 168 This looks to be fixed in STP 168.
Thank you! I just tested with Safari TP and it resolved the regression on our website as well as the codesandbox link. Any eta on when it will be available for everyone to use?