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-grid] The min track sizing function can't be flexible #3568

Closed
Loirooriol opened this issue Jan 29, 2019 · 1 comment
Closed

[css-grid] The min track sizing function can't be flexible #3568

Loirooriol opened this issue Jan 29, 2019 · 1 comment

Comments

@Loirooriol
Copy link
Contributor

From https://drafts.csswg.org/css-grid/#algo-init,

For each track, if the track’s min track sizing function is:

  • [...]
  • A flexible sizing function
    Use an initial base size of zero.

But from https://drafts.csswg.org/css-grid/#min-track-sizing-function,

min track sizing function
If the track was sized with a minmax() function, this is the first argument to that function. If the track was sized with a <flex> value or fit-content() function, auto. Otherwise, the track’s sizing function.

And from https://drafts.csswg.org/css-grid/#valdef-grid-template-columns-minmax

As a maximum, a <flex> value sets the track’s flex factor; it is invalid as a minimum.

So the min track sizing function can't be flexible.

@fantasai
Copy link
Collaborator

Hm, I think that's leftover from when fr values were allowed in the min position. Will fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants