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

When calculating min and max size of grid item, should we consider item's
margins and paddings?

2013/12/24 Timur Amirov <timur.deteam@gmail.com>

> 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`?
>
>
> 2013/12/24 Timur Amirov <timur.deteam@gmail.com>
>
>> Hey!
>>
>> I'm implementing subset of css grid spec in our internal project and very
>> interested in how content-based tracks breadth should be resolved (current
>> algorithm seem a little bit complex to me).
>> Percents, pixels, FRs already done.
>>
>> Suppose we've got a fix-sized one-row grid (500px) with two columns (both
>> max-content or min-content).
>> Grid items consist of two blocks 300px width each.
>>
>> What's the breadth of each track?
>>
>> --
>> Best
>> Timur DeTeam Amirov
>> Moscow, Russia
>>
>
>
>
> --
> Best
> Timur DeTeam Amirov
> Moscow, Russia
>



-- 
Best
Timur DeTeam Amirov
Moscow, Russia

Received on Tuesday, 24 December 2013 15:35:41 UTC