Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-flex] min-content size of column-wrap flexboxes. #9294

Open
bfgeek opened this issue Sep 1, 2023 · 0 comments
Open

[css-flex] min-content size of column-wrap flexboxes. #9294

bfgeek opened this issue Sep 1, 2023 · 0 comments
Labels
css-flexbox-1 Current Work

Comments

@bfgeek
Copy link

bfgeek commented Sep 1, 2023

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 cross size is the largest min-content contribution among all of its flex items.

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".

@bfgeek bfgeek added the css-flexbox-1 Current Work label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-flexbox-1 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant