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

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.

~TJ

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