[css-grid] Set initial growth limits of flexible tracks to infinity #4313
Labels
Closed Accepted as Editorial
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-grid-1
Milestone
https://drafts.csswg.org/css-grid/#algo-init says
However, later in https://drafts.csswg.org/css-grid/#algo-spanning-flex-items, we have
It would be simpler to just drop the latter and change the former to initialize growth limits to infinity for flexible tracks.
This shouldn't matter in practice:
Growth limits are not relevant in 1. Shim baseline-aligned items
2. Size tracks to fit non-spanning items only handles non-flexible tracks, so not relevant
3. Increase sizes to accommodate spanning items crossing content-sized tracks only handles flexible tracks if they don't have an intrinsic min track sizing function. But if the track doesn't have intrinsic sizes, intrinsic contributions of the items won't be distributed into the track.
The change could only matter in https://drafts.csswg.org/css-grid/#extra-space because it considers all spanned tracks, not just affected ones:
However the change would have no effect because the spec already says
The text was updated successfully, but these errors were encountered: