Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no validation of @media and pseudo elements #39

Open
PavelFil opened this issue Sep 29, 2024 · 1 comment
Open

There is no validation of @media and pseudo elements #39

PavelFil opened this issue Sep 29, 2024 · 1 comment

Comments

@PavelFil
Copy link

This code doesn't print any error.

::gsdfgsdf {}
@media gsdfgdfg {}
@lahmatiy
Copy link
Member

CSSTree and validator have no support for selector validation yet.
The @media example is valid, since gsdfgdfg is matching as media-type and it defined as <ident>, so it can be any identifier.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants