Re: [csswg-drafts] [css-flexbox] Change content-size suggestion to min-intrinsic instead of min-content? (#6794)

> Where are you getting that from? Are you assuming this is from the aspect-ratio affecting the specified size suggestion?

I'm describing how engines derive the min-content size of a non-replaced element with an aspect-ratio - (which feeds into the content suggestion for this specific example). E.g. for this case this rectangle has a min-content size of 50px :
```
<div style="aspect-ratio: 1/2;
            height: 100px; width: min-content; min-width: 0;
            background: blue; border: 5px solid orange">
  <div style="width: 100px;"></div>
</div>
```

The min-content size itself doesn't apply any automatic minimum sizing. (We don't read min-width when computing the min-content size). One option here is that it can! This would solve the issue.

Given that above is 50px we feed this into the content size suggestion which gives Chrome's output for the flexbox example being talked about.


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


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

Received on Thursday, 3 February 2022 23:45:49 UTC