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

> With `span 4 / 5`, https://drafts.csswg.org/css-grid/#line-placement is clear that
> 
> * The end line is the 5th from the start of the explicit grid
> * The start line is 4 lines before the end line. That is, the 1st one from the start of the explicit grid.
> 
> So can you point out where's the problem? We are just going in circles.

You do know that, in computer science, when we do  `for (i = 5; i >=1; i--)` it is not the same as `for (i = 1; i <= 5; i++)`

Besides, in that code sample for box04, if I change it to `grid-row: span 6 / 5;` it again is starting the counting on implicit grid line even if you want to start the counting from the lowest number. So no matter how you look at it, the count *starts* at implicit grid, when the rule supposed stated "the counting has to start on explicit grid"

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

Received on Tuesday, 28 January 2020 13:54:51 UTC