Re: [csswg-drafts] [css-nesting] How to resolve nested CSS with pseudo elements in the parent (#7433)

@Loirooriol `::` is not like a combinator. You cannot rearrange things like you can for combinators, `::before` is a single token. In the second example, the `.something else` and `.anything` can be the same element in the nested selected, but not in the non-nested one. However, no such thing is true for the former. 

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


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

Received on Friday, 21 October 2022 18:40:35 UTC