- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Mar 2018 20:05:56 +0000
- To: public-css-archive@w3.org
This issue came up in a [Twitter discussion](https://twitter.com/kizmarh/status/976511175314886657) (including the explanation of why negative index values cannot practically include auto-generated lines, which @fantasai just posted here). But myself and others in that discussion agree with Tobi that "fill this row/column", either completely or starting from a specified point, is a desirable behavior. So the next suggestion is to add keyword values for those specific, simpler cases. Extend the syntax of the `grid-row/column-start/end` properties](https://drafts.csswg.org/css-grid/#line-placement) to have a `span all` option. So you could do things like ```css .header { grid-row: 1; grid-column: 1 / span all; } .sidebar { grid-column: -1; grid-row: 2 / span all; } .gallery-item { /* auto placed in auto-generated rows and columns that fill up remaining space */ } ``` Would that avoid the layout complications? Every time an auto-generated track is added to the layout, it would be straightforward to determine (I think) whether each cell was occupied by a `span all` item, or not. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2402#issuecomment-375078099 using your GitHub account
Received on Wednesday, 21 March 2018 20:06:00 UTC