Re: [csswg-drafts] [css-grid] span count starts only on explicit grid? (#4705)

If you have
```css
#grid { grid-template-rows: 2em 2em }
.box04 { grid-row: span 2 / 5 }
```

Then the item is placed in a grid area that ends at the 5th row line (you start counting at the beginning of the explicit grid) and spans two rows backwards. That is, from line 3 to line 5. The line 3 just happens to be the end of the explicit grid, but this is not relevant here.

So basically positive indexes count forwards from the start of the explicit grid, and negative indices count backwards from the end of the explicit grid. They may end up referring to implicit lines, but they are referred to with respect to the explicit grid.



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

Received on Monday, 27 January 2020 16:37:44 UTC