[csswg-drafts] [css-grid-3] "first implicit line in the masonry axis" seems wrong (#7996)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid-3] "first implicit line in the masonry axis" seems wrong ==
[§2.2](https://drafts.csswg.org/css-grid-3/#grid-item-placement), [§2.3](https://drafts.csswg.org/css-grid-3/#track-sizing) and [§2.4](https://drafts.csswg.org/css-grid-3/#masonry-layout-algorithm) https://drafts.csswg.org/css-grid-3/ refer to the "item(s) placed at the first implicit line in the masonry axis" all over the place.

I don't like the wording. First, what does "placed" mean? That the grid area of the item starts at that line?

Then, why "implicit line"? Per https://drafts.csswg.org/css-grid-2/#explicit-grids

> If these properties [grid-template-*] don’t define any explicit tracks the explicit grid still contains one [grid line](https://drafts.csswg.org/css-grid-2/#grid-line) in each axis.

The spec seems to be trying to check for things like `grid-row: 1` or `grid-row: span 1 / 2`, but then that's not the first implicit line, it's the first/last explicit line.

Also see #7995 about `grid-template-areas`, which can make the first and last explicit lines be different. So I guess it should actually be the first explicit line?

Also, what about `grid-row: span 10 / 2`, `grid-row: span 10 / 1` or `grid-row: span 1 / implicit -1`? Firefox includes this. So I guess the condition is actually that the item spans the 1st track.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7996 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 1 November 2022 23:49:44 UTC