[css-grid] Definition of content-sized track #3044
Labels
Closed Rejected as Invalid
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-grid-1
Tracked in DoC
Milestone
The grid spec uses the concept of a content-sized track, but it doesn't define it explicitly. There is a link that points to the CSS Flexible Box spec, which provides the following definition for the content-size term:
https://www.w3.org/TR/css-flexbox-1/#content-size
The link is in the "Significant adjustments and fixes section", so I guess the link inclusion is not intentional and definitively not part of the spec. Hence, I think we should define it properly, either in the grid spec or perhaps in a more general sizing spec (css-sizing ?)
These are a few examples of the use of this term in the grid spec:
https://drafts.csswg.org/css-grid/#grid-auto-flow-property
https://drafts.csswg.org/css-grid/#algo-spanning-items
For the record, in the Chrome and WebKit implementation we are interpreting a content-sized track as any of the following values:
However, I think the fr value is a special case on this regard, or at least, we are assuming that in our implementation. We are assuming that a flex track in a indefinite size container should be considered as a content-sized track; is this assumption valid ? Is there any statement in the grid spec, or any other, specifying that ? If it's not specified, should we include something in the grid spec, at least ?
The text was updated successfully, but these errors were encountered: