W3C home > Mailing lists > Public > www-style@w3.org > December 2013

Re: [css-grid] fixed-sized grid behavior with min/max-content tracks

From: Timur Amirov <timur.deteam@gmail.com>
Date: Thu, 26 Dec 2013 13:14:37 +0400
Message-ID: <CAG8yhQ-hon4vBjV-tZFueid+UsRUvvEyJ6jN3kAd=p8rSEqKXQ@mail.gmail.com>
To: www-style@w3.org
Yes, I'm pretty familiar with the algo after now, after diggim a bit.
What's the best way to get container's children's min and max content size?

* we've got measure/arrange methods for that, which accept available
container, but that doesn't fit the model when you calculate columns and
rows independently.


2013/12/26 fantasai <fantasai.lists@inkedblade.net>

> On 12/24/2013 05:59 AM, Timur Amirov wrote:
>
>> One more question:
>>
>> grid-template-columns: minmax(min-content, max-content);
>>
>> The definition above would set MinTrackSizingFunction to min-content and
>> MaxTrackSizingFunction to max-content, right?
>>
>> And if grid-template-columns: max-content, both of MinTrackSizingFunction
>> and MaxTrackSizingFunction are `max-content`?
>>
>
> I'm not too familiar with the grid sizing algorithm yet,
> but what you're saying seems reasonable.
>
> ~fantasai
>
>


-- 
Best
Timur DeTeam Amirov
Moscow, Russia
Received on Thursday, 26 December 2013 09:15:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:17 UTC