Re: [csswg-drafts] [css-grid] Note implies losing an aspect-ratio when it shouldn't? (#5713)

Yes, in that other case it doesn't have a preferred aspect ratio, it's not replaced, it's not a table, etc. Then `normal` behaves as `stretch` indeed.

> applying an aspect-ratio to a non-replaced element, doesn't make it replaced

Doesn't make it completely replaced, but https://drafts.csswg.org/css-sizing-4/#aspect-ratio-automatic says

> When a box has a preferred aspect ratio, its automatic sizes are calculated **the same as for a replaced element** with an intrinsic aspect ratio and no intrinsic dimension in that axis

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


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

Received on Saturday, 14 November 2020 02:51:00 UTC