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

Re: [css3-grid-layout] grid-descendant grid items

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Thu, 9 Aug 2012 19:06:15 +0200
Message-ID: <328C324B7D594068BC84257BA6C94A1A@FREMYD2>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, "fantasai" <fantasai.lists@inkedblade.net>
Cc: <www-style@w3.org>
|  If not, then this is equivalent to just positioning both the list item
|  and its children in the parent grid, with the overlapping that
|  implies.

I think this is exactly the desired behavior. What fantasai want is a 
"phantom" parent which only transfer an additive grow/column index to their 
children.

This can be useful if you're using a grid on some screen sizes or some 
browsers and another kind of layout otherwhise (where you need to have 
children in the wrapper for your layout to work properly).

(fantasai, please correct me if I'm wrong)




|  If so, what happens when the sum of this is larger than the size of
|  one of the grid areas that its child wants to participate in?

Just like in the case if an element references an inexisting track: it's 
automatically created. 
Received on Thursday, 9 August 2012 17:06:41 GMT

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