W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-grid] Indefinite free space

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 13 Nov 2014 08:43:10 -0800
Message-ID: <CAAWBYDBQMq3kL_uoxVLM29z9P8v5PPj-3HKoPYxW4CLV2k3hFw@mail.gmail.com>
To: Sergio Villar Senin <svillar@igalia.com>
Cc: www-style list <www-style@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:49 UTC