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

For the flex item in https://jsfiddle.net/dgrogan/2734sdfr/, Firefox only has content size suggestion, which follows the same logic described in https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum, i.e. 
```
max(blue background div's height 100px * (1/2), blue background's child width 100px) = 100px
```

Firefox currently only applies specified size suggestion only if there's a main size property. However, the current spec implies that the specified size suggestion is the item’s **preferred main size**, which can be computed via aspect-ratio + definite cross-size. @dholbert pointed to me that the definition was changed after the edit in https://github.com/w3c/csswg-drafts/commit/0c1a35dd5d938c9d6e5d11cd144f5f45c4460d4a, and this seems changing the behavior.

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


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

Received on Wednesday, 10 November 2021 23:16:10 UTC