Chrome intends to ship:has from CSS Selectors Level 4 (groups.google.com) 1 points by svieira 4y ago ↗ HN
[–] svieira 4y ago ↗ `:has` allows matching a parent on the basis of matching selectors in the children - e. g. the coveted `section:has(input:checked)` will match section elements containing a checked input.
1 comment
[ 3.5 ms ] story [ 14.9 ms ] thread