Re: [csswg-drafts] [css-flexbox] column wrap intrinsic size algorithm can make inline min-content > max-content (#6777)

So to summarize from the background logic in https://github.com/w3c/csswg-drafts/issues/6777#issuecomment-1071211730 and @davidsgrogan's preferences expressed in https://github.com/w3c/csswg-drafts/issues/6777#issuecomment-1097318196 we're looking at:

* For min-content cross-axis size of a column wrap flex container, effectively assume it's one column wide and take the largest min-content size among all the items. If the flex container has a height constraint, this will result in overflow, but at least if you set `overflow` on it's large enough to fit any given column entirely within its scrollport.
* For max-content cross-axis size of a column wrap flex container, lay out each item at its max-content size, fill the columns, and then wrap a box around that. This will yield a box sized to its contents exactly most of the time, the exception being if the author used percentage sizing (which gives us a cyclic percentage that, if we allow it to resolve, can result in overflow).

Agenda+ to ask the WG if this is the direction we want to go in.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6777#issuecomment-1220003107 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 21:50:56 UTC