Re: [csswg-drafts] [css-selectors] has-child selector (#4903)

> In that case, how would `:has-child` provide something that `:not(:empty)` and :has do not?

`:has-child()` as defined in the original post allows to specify the child, which `:not(:empty)` does not.

Sebastian

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

Received on Sunday, 19 April 2020 22:42:25 UTC