Re: [csswg-drafts] [css-cascade-6] Scoping the subject of a `:has()` selector (#9841)

It does seem to me like this should work actually? What am I missing?

```css
@scope (section) to (section) {
  :scope:has(a:not(:scope section *)) {
    background: lavender;
  }
}
```

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


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

Received on Tuesday, 23 January 2024 19:37:11 UTC