see the test
Created attachment 435184 [details] test
What is the correct behavior here? I see a green square in Safari 14.1.2, and a vertical green rectangle in Safari 15 beta. So is this a regression?
(In reply to Alexey Proskuryakov from comment #2) > What is the correct behavior here? I see a green square in Safari 14.1.2, > and a vertical green rectangle in Safari 15 beta. > > So is this a regression? aspect-ratio wasn't supported previously, so not a regression.
Green 50x50px square is the correct behaviour. It is a regression for img because r277997 added implicit aspect-ratio to to.
<rdar://problem/81843417>
*** This bug has been marked as a duplicate of bug 228872 ***
BTW: This test has been added to WPT by https://github.com/web-platform-tests/wpt/pull/29964