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

I donʼt fully understand the use case. It sounds like at least one of the following selectors should satisfy the constraints. Perhaps, a further `:not(…)` would be needed. 

- `.wrapper > * > .child`
- `.wrapper * > .child`
- `.wrapper > * .child`
- `.wrapper * .child`
- `.wrapper > * > .child:first-child`
- `.wrapper * > .child:first-child`
- `.wrapper > * .child:first-child`
- `.wrapper * .child:first-child`
- `.wrapper > :first-child > .child`
- `.wrapper :first-child > .child`
- `.wrapper > :first-child .child`
- `.wrapper :first-child .child`


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

Received on Friday, 10 April 2020 09:06:54 UTC