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

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