W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

Re: [csswg-drafts] [css-grid] Inconsitence of the "intrinsically-sized track" concept when using flexible tracks (#3046)

From: Manuel Rego Casasnovas via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Dec 2018 12:45:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-446189954-1544532325-sysbot+gh@w3.org>
With the edits from #3042 it seems we won't need changes:
> For this purpose, <flex> track sizes count as “intrinsically-sized” when the grid container has an indefinite size in the relevant axis.

We guess that *has an indefinite size* is true on the first pass and also on the second pass.

Note that in order to resolve percentages rows on a grid container with indefinite size, we are setting the intrinsic height after the first pass and then use that size to resolve the percentages in the second pass. For that reason @MatsPalmgren asked for [some extra changes on the spec in this comment](https://github.com/w3c/csswg-drafts/issues/1921#issuecomment-399170288):
> And that the grid container's block-axis size is definite and final after the first pass (so that it works similar to the inline-axis).

If we do that maybe we'd need some extra clarification on the "intrinsically-sized" and flex tracks sentence. As otherwise both texts would be somehow contradictory: in one place we would say that after the first pass the height is definite, then with the current sentence the flex track would be "intrinsically-sized" on the first pass but not on the second pass.

GitHub Notification of comment by mrego
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3046#issuecomment-446189954 using your GitHub account
Received on Tuesday, 11 December 2018 12:45:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:40 UTC