Re: [csswg-drafts] [css-sizing-4] aspect-ratio: minimum/maximum instead of preferred (#5463)

An [old spec draft](https://drafts.csswg.org/date/2019-01-04T12:56:23/css-sizing-4/#from-ratio) provided this functionality as

```css
width: /* something definite */;
aspect-ratio: 1 / 1;
height: max-content; /* determined from the contents */
max-height: from-ratio; /* determined from the ratio */
```

But in #3268 it was considered unnecessary, because if I get it right, this is supposed to work:

```css
width: /* something definite */;
aspect-ratio: 1 / 1;
height: auto; /* determined from the ratio */
max-height: max-content; /* determined from the contents */
```


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


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

Received on Saturday, 22 August 2020 15:05:21 UTC