W3C home > Mailing lists > Public > www-style@w3.org > October 2015

Re: [css-align] definition of 'align-content'/'justify-content' should define computed value for 'auto'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 2 Oct 2015 15:21:04 -0700
Message-ID: <CAAWBYDC6NkzUrWAeJnv98Ekd=AnrYdKj0yX44Z7pKOp1WsNzgA@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style list <www-style@w3.org>
On Fri, Sep 11, 2015 at 3:17 PM, L. David Baron <dbaron@dbaron.org> wrote:
> https://drafts.csswg.org/css-align/#content-distribution says:
>
>   # Name:                 justify-content, align-content
>   # Computed value:       specified value, except for auto (see prose)
>
> The prose goes on to say that for flex containers, 'auto' computes
> to 'stretch', and for grid containers, 'auto' computes to 'start'.
> However, it doesn't explicitly say that in all other cases (block
> containers, multicol layout, and elements to which the property
> doesn't apply) the computed value for 'auto' is 'auto'.

Instead, we just changed flex/grid to no longer compute "auto" to
something else, and instead just use the same "behaves as" wording
that the other display types had.  The Computed Value line now just
read "specified value".

Let us know if this is okay.

~TJ and fantasai
Received on Friday, 2 October 2015 22:21:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC