Re: CSS Grid Layout Testcases

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 UTC