csstree / csstree/validator

support for `@layer`

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
73
Forks
14
PR merge metrics
No merged PRs in 30d

Description

currently, when using cascade layers, the csstree-validator extension shows this error:
```
[CSSTree] Unknown at-rule `@layer`
```

`@layer` has been supported in all modern browsers for about a year now, so it would be nice to have support for it.

i understand that it can be difficult to maintain compatibility with every new feature and i'm happy to help in any way. i also think that it would be nice to have some kind of "allowlist" to prevent errors on such new syntaxes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.