[csswg-drafts] Pull Request: [css-nesting] fix `@layer` example

romainmenke has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-nesting] fix `@layer` example ==
@tabatkins @argyleink 

`@layer` already has defined way how nesting multiple `@layer` rules works.
In that case sub layers are created.

```css
@layer foo {
  @layer bar {

  }
}

/* equivalent to */

@layer foo.bar {}
```

See https://github.com/w3c/csswg-drafts/pull/8038


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

Received on Monday, 7 November 2022 19:14:12 UTC