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

Re: [css-grid] Reduced Subgrid Proposal

From: Rachel Andrew <rachelandrewuk@gmail.com>
Date: Wed, 20 Apr 2016 05:55:11 +0100
Message-Id: <A9712BBD-7A58-4012-AD3F-AFEF8A93E0A8@gmail.com>
To: www-style list <www-style@w3.org>

> On 19 Apr 2016, at 23:53, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> 
> The more complex case that isn't handled is if, for example, the
> "main" area spans several columns, and you want the catalog items to
> care about those columns, but you don't know how many rows there will
> be so you can't line it up with the parent grid's rows.

What I’m trying to wrap my head round in this case is what happens to additional row tracks created in the subgrid.

So with this example:

header  header
sidebar main
footer  footer

If this is actually a 12 column grid, main might span 8 column tracks. However as we don’t tend to specify rows, a single row.

If I’m using subgrid to line up my auto-placed catalog items inside main against the column tracks, but due to the amount of content if this were a normal grid new implicit row tracks need to be created. 

However this is a subgrid, are those additional tracks invalid or do they essentially add additional row tracks to the parent grid? Does sidebar now have additional rows?

Rachel
Received on Wednesday, 20 April 2016 04:55:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:38 UTC