Re: [css-grid] Intrinsic size of a grid container vs. percentage-sized grid tracks

On 27/03/2014 20:52, Tab Atkins Jr. wrote:
> On Tue, Feb 11, 2014 at 7:14 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
>> Hi,
>>
>> ยง10.3 "Intrinsic Sizing" of the ED says:
>>
>>> For a grid container, the min-content measure is the sum of the
>>> UsedBreadths of the Grid tracks just before step 3 in
>>> ComputeUsedBreadthOfGridTracks. and the preferred measure is the sum
>>> of the UsedBreadths of the Grid tracks after the entire track sizing
>>> algorithm has been run with infinite space.
>>
>> When doing this, how are percentages resolved for the size of grid columns?
>> (They usually refer to the used width of the grid container, which is not
>> determined at this point.)
>
> As specified in the 'grid-template-rows' section, a percentage track
> resolved against an indefinite dimension on the grid container is
> treated as "auto".

What if that percentage was inside a minmax() function? 'auto' is not 
allowed there.

-- 
Simon Sapin

Received on Thursday, 27 March 2014 21:18:52 UTC