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: Mats Palmgren <mats@mozilla.com>
Date: Mon, 16 May 2016 18:19:24 +0200
To: www-style@w3.org
Message-ID: <2943d59b-237f-9cbc-0344-7a25c3c9366e@mozilla.com>
On 2016-05-16 16:52, Manuel Rego Casasnovas wrote:
> And another issue when the algorithm terms are defined [4]:
> "min track sizing function
>    If the track was sized with a minmax() function,
>    this is the first argument to that function.
>    Otherwise, it’s the track’s sizing function."
> Now that "fr" is invalid as minimum,
> I guess we need an exception in this rule too.
> [4] https://drafts.csswg.org/css-grid/#algo-terms

As I read it, "sized by a minmax() function" doesn't apply for
minmax(1fr,...) because the value is simply invalid.  The track
is sized by the (computed) value 'auto' in this case.

I agree that the text could be clearer though.  Perhaps replace
"If the track was sized with a minmax() function" with
"If the computed value of the track sizing function is a minmax()
function" ?

"track sizing function" is a defined term in [1] and it excludes
'fr' in the min value in a minmax().  So it should be clear that
the computed value is 'auto' in that case.
(linking "track sizing function" from [4] to [1] would help too)


Received on Monday, 16 May 2016 16:19:55 UTC

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