Re: [csswg-drafts] [css-grid] "grid-column: 1 / -1" should span all columns

If this syntax is not an option for the feature "span to last no matter whether auto-generated tracks are involved or not"
```
grid-column: 1 / -1;
```
then perhaps there could be a new keyword:
```
grid-column: 1 / span to-last;
```


In the possible syntax "span all", the "all" is true when eg
```
grid-column: 1 / span all;
```
but the "all" is not completely true eg in
```
grid-column: 2 / span all;
```
because the above cell doesn't span all the columns.
This would be better:
eg
```
grid-column: 1 / span to-last;
```
eg
```
grid-column: 2 / span to-last;
```

Amelia wrote:
> If the author defines grid items that can't help but overlap, they overlap. 

I agree (and perhaps it is the intent to overlap/underlap, which generally is
a possibility, see for example https://tobireif.com/demos/grid/ → "Layout 3"
which has a huge underlapping cell).

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

Received on Thursday, 22 March 2018 11:24:02 UTC