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

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".

~TJ

Received on Thursday, 27 March 2014 20:53:13 UTC