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

Re: [css-flexbox] abspos & align-self: stretch

From: Christian Biesinger <cbiesinger@google.com>
Date: Mon, 30 Mar 2015 12:33:52 -0400
Message-ID: <CAPTJ0XFWxvCMGSTxvOn6H=EaCCTkHNiT3jJREoVP45kiRG0fcg@mail.gmail.com>
To: Greg Whitworth <gwhit@microsoft.com>
Cc: www-style list <www-style@w3.org>
Thanks, I'll do the same. I was wondering if I should stretch it
anyway even though it doesn't technically participate in flex layout.
baseline is also the same as flex-start, I assume.

Would be nice if the spec was a bit more explicit about it!

-christian

On Fri, Mar 27, 2015 at 7:30 PM, Greg Whitworth <gwhit@microsoft.com> wrote:
>> Hi there,
>
>> I'm working on implementing the new abspos behavior, as described in http://dev.w3.org/csswg/css-flexbox/#change-2012-static-pos and >http://dev.w3.org/csswg/css-flexbox/#abspos-items
>
>> I just wanted to verify what the expected behavior of align-self:
>> stretch on an absolutely positioned item is. Should it be converted to flex-start or should the abspos item be stretched? I assume the former?
>
> We convert it to flex-start since the abspos items don't participate in the flex layout, all of them would end up in the start position.
>
>> thanks!
>>-christian
>
Received on Monday, 30 March 2015 16:34:20 UTC

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