Re: [csswg-drafts] [css-grid] Property "grid-item-of": display any element as part of any given grid (#2530)

> One way of handling that error would be to add it to the first of the referenced grids

I'd say that this solution would be perfectly in line with the general logic of the Grid layout, similarly to how multiple grid lines with the same name are handled (e.g. `named-line` defaults to `named-line 1`). With the explicitly named grids, the same behavior could be reused for the grids themselves. E.g., if there are two grid instances named `my-super-grid`, setting simply `grid-item-of: my-super-grid` would attach the element to the first of them, while `grid-item-of: my-super-grid 2` would attach it to the second one.

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2530#issuecomment-458120072 using your GitHub account

Received on Monday, 28 January 2019 12:54:03 UTC