[csswg-drafts] [selectors-4] "Grid-Structural Selectors" needs clarity as to whether it applies to tables only, or also to CSS Grid (`display: grid`) (#6590)

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

== [selectors-4] "Grid-Structural Selectors" needs clarity as to whether it applies to tables only, or also to CSS Grid (`display: grid`) ==
See [here](https://www.w3.org/TR/selectors-4/#table-pseudos).

Use of the term "grid" suggests we're dealing with CSS Grid, but all examples deal with `<table>` and its children.
If these selectors do apply to CSS Grid, the spec should probably complement the `:nth-col` pseudo-selector with a corresponding `:nth-row` pseudo-selector (see #1943).

Additionally, if these selectors apply to CSS grid, as the content and structure of CSS Grid rows/columns are defined by the CSS rather than by markup (which is the case for `<table>`), there are [cyclic issues](https://github.com/w3c/csswg-drafts/issues/1943#issuecomment-342578007) that may need consideration.

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


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

Received on Friday, 10 September 2021 05:40:05 UTC