Re: [csswg-drafts] [selectors-4] New selector based on the amount of child elements (#5694)

In that case it's the same complexity as `:has()` - i.e., it's complex (see eg https://github.com/w3c/csswg-drafts/issues/3345).

`:nth-children(2)` would be the same as `:has(> :nth-child(2)):not(:has(> :nth-child(3)))` - although I think it's fair to say the latter isn't quite as obvious.

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


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

Received on Wednesday, 4 November 2020 15:43:48 UTC