Re: [csswg-drafts] [css-sizing-4] Expected size of replaced element with aspect-ratio but width/height auto (#5721)

This is defined in <https://drafts.csswg.org/css-sizing-4/#aspect-ratio-automatic> - all boxes respect the preferred aspect-ratio, acting like they have a size in the ratio-determining axis and none in the ratio-dependent axis. So that img should be square, regardless of the natural dimensions.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5721#issuecomment-760528076 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 January 2021 22:54:41 UTC