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

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

From: Christian Biesinger <cbiesinger@google.com>
Date: Thu, 9 Apr 2015 19:21:52 -0400
Message-ID: <CAPTJ0XE_c4bOzb9bpwtf5SmX7WVbBaqn_LezuEOhepFisFVmxQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Greg Whitworth <gwhit@microsoft.com>, www-style list <www-style@w3.org>
I see. This is getting really complex. So you expect flexbox
implementation to implement this part of css-align for abspos items,
even if they don't otherwise implement that spec?

This is a lot of code for a not very useful feature. Who puts abspos
items in a flexbox and expects them to kinda-sorta participate in flex


On Thu, Apr 9, 2015 at 7:01 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Thu, Apr 9, 2015 at 3:57 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> On Mon, Mar 30, 2015 at 9:33 AM, Christian Biesinger
>> <cbiesinger@google.com> wrote:
>>> 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!
>> The Alignment spec is more explicit about it:
>> http://dev.w3.org/csswg/css-align/#stretch and
>> http://dev.w3.org/csswg/css-align/#align-self-property
> By which I mean, yeah, it's stretched.
> 'baseline' is also defined there, though you have to chase the
> definitions a bit.  Abspos children of a flex-box aren't in any
> baseline-sharing group, so baseline-aligning them is a no-op, and they
> then get aligned as self-start.
> ~TJ
Received on Thursday, 9 April 2015 23:22:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:53 UTC