W3C home > Mailing lists > Public > www-style@w3.org > May 2016

Re: [css-grid] Update minmax() description now that fr is invalid as minimum

From: Manuel Rego Casasnovas <rego@igalia.com>
Date: Fri, 13 May 2016 18:52:47 +0200
To: www-style@w3.org
Message-ID: <5736065F.402@igalia.com>

On 12/05/16 17:52, Manuel Rego Casasnovas wrote:
> a recent change [1] in the spec makes flex sizes invalid
> on the min slot of minmax():
> "  <track-size> =
>      <track-breadth> |
>      minmax( <inflexible-breadth> , <track-breadth> )"
> However, the text defining minmax() hasn't been updated [2]:
> "As a maximum, a <flex> value sets the track’s flex factor.
>  As a minimum, it is treated as zero (or min-content,
>  if the grid container is sized under a min-content constraint)."
> I believe we should change this to state that as a minimum it makes the
> declaration invalid.

And not only that, also the text in the algorithm needs to be updated
too [3]:
"When the grid container is being sized under a min-content constraint,
 a track with a flexible min track sizing function is treated as if
 its min track sizing function was min-content for the purposes
 of this step."

But now a "track with a flexible min track sizing function" is invalid.


> [1]
> https://github.com/w3c/csswg-drafts/commit/4040ba7fa068905f7fe1c1bf35d665a2062acafa
> [2] https://drafts.csswg.org/css-grid/#valdef-grid-template-columns-minmax
[3] https://drafts.csswg.org/css-grid/#algo-content
Received on Friday, 13 May 2016 16:53:22 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:59 UTC