[csswg-drafts] Pull Request: [css-cascade-5] fix example syntax error for `@import layer;`

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

== [css-cascade-5] fix example syntax error for `@import layer;` ==
The `<<layer-name>>` in the `layer()` function in the `@import` syntax cannot be omitted.

```
@import [ <<url>> | <<string>> ]
          [ layer | layer(<<layer-name>>) ]?
          <<import-condition>> ;
```

This means that the following example is wrong, `()` should be removed.

```css
@import url("override.css") layer();
```


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


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

Received on Saturday, 13 August 2022 14:33:45 UTC