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

Re: [css-align] Definition of align-self inconsistent with css-flexbox for abspos

From: Christian Biesinger <cbiesinger@google.com>
Date: Thu, 9 Apr 2015 18:32:33 -0400
Message-ID: <CAPTJ0XHFvFCq36+wks7gCt-wCVzM8La80vC7zzKmKhOtM8UJSA@mail.gmail.com>
To: Javier Fernandez <jfernandez@igalia.com>
Cc: www-style list <www-style@w3.org>
On Thu, Apr 9, 2015 at 6:18 PM, Javier Fernandez <jfernandez@igalia.com> wrote:
>> However, in flexbox we have:
>> http://dev.w3.org/csswg/css-flexbox/#propdef-align-self
>> "Computed value:auto computes to parent’s align-items value; otherwise
>> as specified"
>
> I only see the case of no parent, which Alignment spec resolves to 'start'.

What do you mean? Both the table and the prose says that align-self
does not stay as auto, independent of what position is.

"Computed value:auto computes to parent’s align-items value; otherwise
as specified"

"A value of auto for align-self computes to the value of align-items
on the element’s parent, or stretch if the element has no parent."

So at least for children of flex boxes, align-self should never compute to auto.

-christian
Received on Thursday, 9 April 2015 22:33:00 UTC

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