Re: [csswg-drafts] Formatting a table in css like excel (#7543)

The pseudo-class selector `:nth-col(An+B)` is the solution already available indeed. 

However, I see no reason why there’s no corresponding `nth-row(An+B)` or even `:nth-cell(An+B, Cn+D)` (or independent _n_ and _m_). 

The col selectors apply logically, i.e. whenever a col-spanned `td` or `th` crosses that column, it matches. This is not possible with `tr:nth-child(An+B)` for rows that are crossed by a row-spanned cell. 

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


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

Received on Monday, 1 August 2022 09:34:47 UTC