Re: [csswg-drafts] [css-flexbox] content size suggestion of image flex items (#6693)

I think the issue to discuss is in step 3 & 4. That is, when computing content size suggestion, should we transfer the stretched flex item's cross-size `100px` to the main-axis through preferred aspect-ratio? If yes, then the content size suggestion is `50px`, which happens to be its transferred size suggestion in this example. If no, then the content size suggestion is the image's natural size `150px` as [in this case](https://jsfiddle.net/my6ts4p5/).

```
<div style="height: 0px">
  <img src="300x150.png" style="float: left; min-height: 0px; max-height: none;">
</div>
```


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


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

Received on Tuesday, 28 September 2021 18:31:50 UTC