Re: [csswg-drafts] [css-selectors] Nearest descendant selector (#4940)

> Isn't this already possible to express with complex selectors inside `:not()` (as Selectors Level 4 allows): `.wrapper .child:not(:child .child)`?

What is :child? :not kind of works if we hardcode the number of containers between the top one and the children, but a proper solution would be better. https://codepen.io/radogado/pen/dyYyBWN


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

Received on Friday, 10 April 2020 07:17:16 UTC