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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 08 May 2015 16:23:55 -0700
Message-ID: <554D458B.4080500@inkedblade.net>
To: www-style@w3.org
On 03/16/2015 05:35 AM, Sergio Villar Senin wrote:
> On 05/03/15 17:11, Sergio Villar Senin wrote:
>> 3) I think there is something missing in the track sizing algorithm. The
>> new 'auto' value adds a new step before resolving the content-based
>> minimums which is called intrinsic minimums (which includes
>> min-content,max-content and auto). That's fine, the problem is that
>> there isn't any correspondent new step in step 3 of the distribute extra
>> space algorithm[2]. That step describes which tracks should be selected
>> to grow beyond grow limits depending on which sizes we're currently
>> handling. For base sizes it only considers min-content and max-content
>> but not auto.
>
> BTW the new step will produce wrong results because auto != min-content
> for min track sizing functions. There was a rule that specifies which
> tracks to grow beyond limits when dealing with min-content base sizes.
> Before this new value of "auto", the auto tracks were selected to grow
> beyond limits (as auto was minmax(min-content,max-content) but now
> they're excluded.
>
> My proposal to keep compatibility with the current behavior is to replace:
>
>    "when handling min-content base sizes:"
>
> by
>
>    "when handling min-content or auto base sizes:"

Seems right to us! Fixed. Thank you~

~fantasai and TJ
Received on Friday, 8 May 2015 23:24:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC