W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [css-grid] Using automatic (instead of min-content) minimums for 'auto' tracks

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 16 Jul 2015 18:24:25 -0400
Message-ID: <55A82F19.8090103@inkedblade.net>
To: www-style@w3.org
On 07/08/2015 04:45 AM, Sergio Villar Senin wrote:
>
> Actually I think there was a copy&paste error :) as I miss a sentence
> which is present in the flexbox spec just after talking about "content
> size" which is the following:
>
> "Otherwise, this keyword computes to 0 (unless otherwise defined by a
> future specification)."
>
> Perhaps we don't need the text in parentheses as that applies to
> anything right? :P

We didn't add this sentence to the Grid spec, because this section
in the grid spec is only defining its effect on grid items -- whereas
the Flexbox spec was redefining min-width/height generally to add
the auto keyword.

The text in parentheses is there to make it clearer that we expect
future specs to hook into this, and implementers should not depend
on it being zero for all layout modes indefinitely. E.g. we might
expand it to apply to table elements, allowing them to actually
shrink past their min-content size for once.

~fantasai
Received on Thursday, 16 July 2015 22:24:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC