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

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