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

> completely lost

Maybe it's not what you meant, but it's not _completely_ lost, it's in the implicit `&` in the `<scope-start>`:

```
#a {
  ...
  @scope (& #b) {
    @nest {
      color: red;
    }
  }
```

I think that will be just fine.

---

> Perhaps we should simply name it @group and allow an optional `<dashed-ident>` before the {, then we can figure out later what these can be used for.

I support this too.

Although we could easily add a `<dashed-ident>` to the prelude later, if/when we have a good reason for it. Maybe we just ship `@group {}` for now, leaving the prelude wide open for whatever we come up with later.

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


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

Received on Thursday, 25 April 2024 07:24:29 UTC