Re: [csswg-drafts] [css-nesting] Another problem with mixing declarations and rules - error recovery (#8349)

I fail to see how "`@layer` is no different than this":

```css
div {background: green}
@layer {}
p {background: red}
```

On browsers that don't support `@layer`, both `div {background: green}` and `p {background: red}` work.

```css
background: green;
.nested {}
background: red;
```

On browsers that don't support nesting,  `background: green;` works but `background: red;` doesn't work.


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


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

Received on Monday, 23 January 2023 07:39:02 UTC