[csswg-drafts] [css-nesting-1] Nesting with `@scope` and `:scope`/`&` (#8019)

romainmenke has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-nesting-1] Nesting with `@scope` and `:scope`/`&` ==
```css
:scope {
  @scope (.foo) {
    color: pink;
  }
}

& {
  @scope (.foo) {
    color: pink;
  }
}

@scope (.foo) {
  :scope {
    color: pink;
  }
}

@scope (.foo) {
  & {
    color: pink;
  }
}
```

I find these cases really tricky to reason about.
I would say these are all equivalent.

see : https://github.com/w3c/csswg-drafts/issues/5745

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8019 using your GitHub account


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

Received on Friday, 4 November 2022 17:10:29 UTC