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

The quoted spec text means exactly what it says - it "represents the elements matched by the parent rule", in the same way as `.foo` represents "the elements with a `foo` class". And in both examples, it makes perfect sense to repeat the selector twice in a larger selector; each instance stands for the same set, but any particular match will choose different elements from that set. (Well, most of the time; using it in function like `:is()` can represent the same element twice.)

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


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

Received on Thursday, 27 October 2022 22:21:20 UTC