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

> [Moving the height to the item ](https://jsfiddle.net/dgrogan/o8a0vytj/3/)shows that they also give 100x100:

Wait, this seems weird. Yes, a 100px height will lead to a 100px width via the flex base size (set in step 3B of the layout algo), but the item is shrinkable and overflowing its container at that size - it should have its main size reduced to 10px.

I suspect Chrome is making it 100px wide because of it using the `min-content` size in the content size suggestion, thus making its automatic minimum width 100px? That's the precise thing we're asking to change - we absolutely didn't intend for the aspect ratio to be included here, or else we wouldn't have created the "transferred size suggestion" in the first place.

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


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

Received on Thursday, 18 August 2022 19:37:05 UTC