Re: [csswg-drafts] [css-nesting-2] Syntax to customize how a nest-containing selector is resolved? (#6330)

> Please note that in Chrome v110 even the following works

Yes, that is correct per spec. Nested selectors are only interpreted as relative if they start with a combinator, or you don't use the `&` selector at all. Otherwise, we just take the selector exactly as-is, so you can add whatever context you want before the `&`.

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


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

Received on Tuesday, 21 February 2023 18:08:46 UTC