Re: [css-grid] Indefinite free space

On Thu, Nov 13, 2014 at 7:11 AM, Sergio Villar Senin <svillar@igalia.com> wrote:
> In previous drafts[1] there was this definition of RemainingSpace (which
> is now called Free Space): "The max of zero and the AvailableSpace less
> the sum of all Grid track UsedBreadth values. This is undefined if
> AvailableSpace is undefined (i.e. the Grid element is shrink-to-fit or
> the height is auto.)"
>
> Recent versions of the specs do not mention at all what is inside the
> parentheses. Should consider it as incorrect from now on?

No, why would it be incorrect?  We rewrote all of the text from
scratch, and just didn't include those examples.

> >From the current specs[2], Free Space is defined as "If available space
> is indefinite, the free space is indefinite as well". Appart from that
> we know from [3] that "An indefinite available size is essentially
> infinite". What I understand is that in those cases we could just grow
> all the tracks to their maximums and that's it. Is that correct?

I believe that is what happens, yes, but I'd have to review the algo
to make sure.

~TJ

Received on Thursday, 13 November 2014 16:43:58 UTC