W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css3-flexbox] flex-align:stretch on absolutely positioned items WAS: Changing abspos placeholders to atomic inlines

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 25 May 2012 21:06:13 -0700
Message-ID: <CAAWBYDCFboKsuoA8X2dSbzatB=f2N0HmHTLa4moZvNVZyP2FpA@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org
On Fri, May 25, 2012 at 8:54 PM, Ojan Vafai <ojan@chromium.org> wrote:
> It's not clear to me with this change (or with the current spec text) what
> should happen with flex-align/align-items: stretch on absolutely positioned
> flex items. WebKit's current implementation happens to ignore stretch, but
> that's not intentional. I can't really think of use-cases for wanting to
> stretch absolutely positioned items, except if you're trying to overlay one
> item on top of the other.

It should have an effect equivalent to align-self:start.  Remember
that it only stretches the placeholder, and abspos static position
only cares about the top-left (or top-right in rtl) of the
placeholder.

~TJ
Received on Saturday, 26 May 2012 04:07:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT