Re: [csswg-drafts] [css-syntax][css-nesting] Design of `@nest` rule (#10234)

Another thing to note, not sure how well this interacts with `@scope`... @andruud / @dshin-moz / @tabatkins / @mirisuzanne, do you know off-hand?

IIRC we either stash an implicit `:scope` in the selector (but we can't with `@nest`, because there's no selector), or use the `&` which now includes the start bound, right? At least I recall a weird interaction between nesting and `@scope`, but I don't recall the specifics...

That is, what does:

```
#a {
  ...

  @scope (#b) {
    color: red;
  }
```

desugar to now? What would desugar to with `@nest` and would it work correctly?

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


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

Received on Wednesday, 24 April 2024 21:35:47 UTC