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

Re: [css-grid-layout] Out-of-flow grid items

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 30 Nov 2012 15:41:45 -0800
Message-ID: <CAAWBYDDTZSyRuKUqhP1S67uL6KrHwmmYpKdq_zVD=yAuk7b=Ow@mail.gmail.com>
To: Julien Chaffraix <julien.chaffraix@gmail.com>
Cc: www-style list <www-style@w3.org>
On Fri, Nov 30, 2012 at 3:28 PM, Julien Chaffraix
<julien.chaffraix@gmail.com> wrote:
> the editor's draft states that:
> "each child of a grid element becomes a grid item"
> However the flex box specification disallows out-of-flow flex-items:
> "each in-flow child of a flex container becomes a flex item"
> For coherency with flex box and to avoid having different behaviors
> depending on whether an out-of-flow element is a child of a grid
> element or a descendant, I would like to propose the following change
> to the specification:
> "each in-flow child of a grid element becomes a grid item"
> Any thoughts?

+1 (since I was talking to Julien about this issue this morning).
This restriction isn't a huge issue, since abspos elements obviously
don't participate in the layout algorithm anyway, but it does simplify
some things, because I don't have to be careful to say "in-flow flex
items" all over the place.  I expect Grid would benefit similarly.

Received on Friday, 30 November 2012 23:42:33 UTC

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