Another change [1] from the spec that we should implement.
"fr" should be invalid if it's used in the min slot of minmax().
The new syntax on the spec is:
<track-size> =
<track-breadth> |
minmax( <inflexible-breadth> , <track-breadth> )
<inflexible-breadth> =
<length> |
<percentage> |
min-content |
max-content |
auto
This means that a declaration like "grid-column: minmax(1fr, 100px);"
should be considered invalid.
Probably it's better to wait until bug #611407 is solved before fixing this.
Otherwise we'd be rejecting "fr" explicitly on the min slot (like minmax(1fr, 100px)),
but accepting it implicitly as "1fr" would behave like minmax(1fr, 1fr)
instead of minmax(auto, 1fr).
[1] https://github.com/w3c/csswg-drafts/commit/4040ba7fa068905f7fe1c1bf35d665a2062acafa
[2] https://drafts.csswg.org/css-grid/#typedef-track-size
Comment 1 by r...@igalia.com
, May 12 2016Status: Assigned (was: Available)