Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix CSS syntax validator #14

Open
lahmatiy opened this issue Dec 15, 2022 · 2 comments
Open

Fix CSS syntax validator #14

lahmatiy opened this issue Dec 15, 2022 · 2 comments

Comments

@lahmatiy
Copy link
Member

Currently CSS syntax validator is using its own rules to validate CSS. These rules are outdated and confuses users (csstree/csstree#171). So the rules should be fixed or replaced with csstree's validator.

An alternative option to reject the validator's page and redirect to CSS syntax reference where will be a functionality to validate CSS syntax. This option looks more promising to me, because in addition to CSS validating according to existing syntax definitions, I would also like to add the ability to supplement or redefine syntax definitions.

@RobertAKARobin
Copy link

I'm one of the developers who got confused! CSS variable declarations appear to make the validator just stop working — when present (e.g. --color: green;) the validator doesn't process input.

@lahmatiy
Copy link
Member Author

@RobertAKARobin The issue you are describing has just been fixed.

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

No branches or pull requests

2 participants