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

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

From: Javier Fernandez <jfernandez@igalia.com>
Date: Tue, 24 Jun 2014 13:46:37 +0200
Message-ID: <53A9651D.3000900@igalia.com>
To: www-style@w3.org
Hi,

On 06/24/2014 01:37 AM, Tab Atkins Jr. wrote:
>> 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.

Ok, that explains everything.

> 
>> 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/>.
> 

I was confused by the "just the specified value" statement in the
Computed Value field of the table, but a deeper reading to the
css-cascade will be good anyway, thanks.

Thanks for the feeback.

--
javi
Received on Tuesday, 24 June 2014 11:47:16 UTC

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