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

On 12/24/2013 05:37 AM, Timur Amirov wrote:
> 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?

300px. The grid can be larger (or smaller) than the container.

~fantasai

Received on Wednesday, 25 December 2013 21:18:57 UTC