Re: [csswg-drafts] [css-nesting] Semantic of nesting selector is unclear (#2895)

It would be the `:matches(a, b) c :matches(a, b)` one. But it isn't nonsense. The inner a and b could match the same selector without being the same element. Imagine if it was `:matches(div, span) p :matches(div, span)`, for instance, which is a real world equivalent. That would match `div p div`, `span p span`, `div p span`, and `span p div`. Those do actually exist in the wild.

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


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

Received on Friday, 18 December 2020 05:07:46 UTC