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

Re: [css-align] Computed value when using "auto"

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 23 Jun 2014 16:37:41 -0700
Message-ID: <CAAWBYDBW_ATVrB0cUM5dRM5fubjPSm7Q-qD_-8veGWq9ZGn7cA@mail.gmail.com>
To: Javier Fernandez <jfernandez@igalia.com>
Cc: www-style list <www-style@w3.org>
On Mon, Jun 23, 2014 at 2:54 PM, Javier Fernandez <jfernandez@igalia.com> wrote:
> Hi,
>
> I've got some questions/doubts regarding several statements in the
> specification draft when talking about the "auto" keyword and its
> computed value for the align-self/items and justify-self/items properties.
>
> All the properties define a "Computed value" as the "Specified value";
> since none of them are inheritable, this value should be either the
> default or the one specified by the user.

This is just a mistake in the spec.  It should say "specified value,
except for auto (see prose)", like the properties in Flexbox/Grid do.

> In other specifications, like the CSS Grid Layout", some properties
> define a "Computed value" as "As specified, except for auto (see
> prose)". I think that the statement about "auto" computing to a
> different value is confusing; in the implementation I'm working on I've
> assumed that this computed value is defined during the layout phase, but
> I'm not sure whether it's what the specification actually describes.

It sounds like you don't understand what the value computation stages
mean; reading the Cascade spec should help
<http://dev.w3.org/csswg/css-cascade/>.

~TJ
Received on Monday, 23 June 2014 23:38:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:22 UTC