Re: [csswg-drafts] [css-nesting] :selector-replace() pseudo-class function (#6330)

That depends on how it's defined. I think `&` should still be mandatory in these selectors, because otherwise the meaning is very ambiguous. And yes, if it's `&bar:focus & .baz` then it should be equivalent to `.foo:focus .bar .baz`. Not sure how to define it so that it doesn't become `.foo:focus .foo .bar .baz` when that `&` is expanded though. 🤔 

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


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

Received on Tuesday, 1 June 2021 09:30:21 UTC