Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@Loirooriol

Description

@Loirooriol

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions