Re: [csswg-drafts] [css-nesting-1] Syntax Invites Errors (#7834)

> Yes to the (2) proposals. (It's needed to trigger the switch when nothing else is around to do so.) 

So both of these would valid in (2) :

```css
.foo {
  color: green;

  @nest anything {
    color: purple;
  }
}

.foo {
  color: green;

  @nest;
  anything {
    color: purple;
  }
}
```

But `@nest` would not exist at all in (3)

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


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

Received on Tuesday, 18 October 2022 21:20:37 UTC