Re: [csswg-drafts] [selectors] Parameterized selectors (#10567)

I've also come across wanting something similar with expanding/collapsing groupings in HTML tables. Basically if a grouped row is collapsed then we want to hid all of the visually nested rows. (Semantically the rows in the HTML table are flat, so we want to hide the next siblings.)

```css
table tr[grouping][:path][collapsed] ~ tr[path^=[:path]] {
  display: none;
}
```

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


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

Received on Friday, 12 July 2024 20:51:15 UTC