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

> Why do you say the automatic minimum size is zero -- shouldn't it actually be 100px?

Mea culpa, you're right. When writing that down, I tripped over the fact that (a) the blue child resolves to 0 height, and (b) the *specified* size suggestion shouldn't take aspect-ratio into account (we had just dropped a minor edit into there to make sure that automatic sizes couldn't contribute even if they're definite), and so forgot to think about aspect-ratio when talking about the *content* size suggestion, which *should* take that into account. You're correct that the automatic minimum size in this case is 100px.

So neither Chrome nor Firefox is quite right here. Instead, the orange item starts at 100px flex basis, isn't allowed to shrink below 100px, and the blue child then resolves its % against that, resulting in the blue box being 200px tall.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6794#issuecomment-1029447353 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 22:08:47 UTC