[css-grid-1] Flexible tracks with auto min don't handle min-content constraint sizing #5369
Labels
Closed as Retracted
When the person who raised the issue thinks that there's no issue after all.
css-grid-1
Follow-up to #4783: Now that the automatic minimum size of items crossing flexible tracks is zeroed out... we are not accounting for their min-content sizes at all when the grid is sized under a min-content constraint.
https://drafts.csswg.org/css-grid-1/#algo-flex-tracks handles max-content constraints in consideration of max-content sizes, but under min-content constraints any flex tracks get sized as zero. Ideally, a grid with one 1fr track should size similarly to a block container, and that analogy fails here.
We may want to consider accommodating min-content sizes of auto-min flex tracks specially somehow.
Note: We don't exactly have interop on this case. See testcase in Chrome vs Firefox.
The text was updated successfully, but these errors were encountered: