[csswg-drafts] [css-flex] min-content size of column-wrap flexboxes. (#9294)

bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-flex] min-content size of column-wrap flexboxes. ==
Blink successfully shipped the behaviour for changing the intrinsic size of column wrap flex-boxes in the spec (yay!) see:
https://bugs.chromium.org/p/chromium/issues/detail?id=507397

https://drafts.csswg.org/css-flexbox-1/#intrinsic-cross-sizes

Currently the `min-content` size is:
> The [min-content](https://drafts.csswg.org/css-sizing-3/#min-content) [cross size](https://drafts.csswg.org/css-flexbox-1/#cross-size) is the largest [min-content contribution](https://drafts.csswg.org/css-sizing-3/#min-content-contribution) among all of its [flex items](https://drafts.csswg.org/css-flexbox-1/#flex-item).

This is kinda arbitrary for this case. E.g. https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=11970

An option (which might not be web-compatible - changing the min-content specifically is risky) is for when a column wrap flexbox has a non-infinite available main size (it is constrained somehow, and lines *may* wrap) - to make the `min-content == max-content`. This would reduce the arbitrariness, but render the flexbox "inflexible".


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9294 using your GitHub account


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

Received on Friday, 1 September 2023 19:52:15 UTC