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

Re: CSS Grid Layout Testcases

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 28 Mar 2012 14:23:53 -0700
Message-ID: <CAAWBYDDn93U3RnWjmRPgFCe-qyn-uAxmbr5UBgUYf1wzcHxAUg@mail.gmail.com>
To: Alexander Shpack <shadowkin@gmail.com>
Cc: www-style <www-style@w3.org>
On Wed, Mar 28, 2012 at 2:01 PM, Alexander Shpack <shadowkin@gmail.com> wrote:
[snip example code]
>
> 1. Where should be placed text "Hello, i'm anonymous text. Please
> specify my position in flow"
> 2. What happened, if one grid will be placed inside other one?
> 3. What happened, if node have both properties: cell and grid?
> 4. What happened, if many nodes trying to fit into one cell placement?
> 5. If grid is incomplete (title's cell position is 1:1, controls have
> 2:3 pos), what happened in this case?
> 6. What happened with last element? Is it grid cell?

1. It's wrapped in an anonymous grid item.  Since this has default
values for the grid properties, it's placed in the (1,1) cell.

2. Nothing special.  You have two grids.  What were you expecting?

3. It's positioned in its parent's grid, and establishes a grid for
its children.

4. They overlap.  Grid is basically a smart positioning scheme.  It's
similar to using abspos to put multiple elements in the same spot.

5. Nothing special.  The unfilled grid cells are just empty.

6. No, its parent isn't a grid.  The grid properties on it are simply ignored.

All of these questions are answered in the draft.

~TJ
Received on Wednesday, 28 March 2012 21:24:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT