Re: [csswg-drafts] [css-nesting-1] Clearer definition of “nest-containing” (#7972)

> `:is(:unknown(&), .bar)`

```css
.foo {
  :is(:unknown(&), .bar) {}
}
```

I might be overlooking this but what happens to the `.bar` branch?
The selector as a whole is not relative because it contains `&`.

I assume it is a valid selector that never matches anything?
I would be surprised if it matches any `.bar` in the document, regardless of elements having a `.foo` ancestor.


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


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

Received on Wednesday, 25 January 2023 16:51:01 UTC