8000 [selectors-4] "Grid-Structural Selectors" needs clarity as to whether it applies to tables only, or also to CSS Grid (`display: grid`) · Issue #6590 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

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

@MaximSagan

Description

@MaximSagan

https://drafts.csswg.org/selectors-4/#table-pseudos

Use of the term "grid" suggests we may be 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 that may need consideration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0