[csswg-drafts] [css-cascade-6] Mixed Nesting / Scoping (#8518)

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

== [css-cascade-6] Mixed Nesting / Scoping ==
What happens with 
```
selector {
    @scope (otherselector) {
        inner { ... }
    }
}
```

I can think of several possibilities:

- Nest the inner selectors only:
    ```
    @scope (otherselector) {
        selector inner { ... }
    }
    ```
    
- Nest the scoping root only:
   ```
   @scope (selector otherselector) {
       inner { ... }
   }
   ```

- Nest everything:
   ```
   @scope (selector otherselector) to (selector floor) {
       selector inner { ... }
   }
   ```

There's also the impact on specificity to consider...

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


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

Received on Thursday, 2 March 2023 17:24:15 UTC