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

CSS checks: consider reporting unclosed parentheses #629

Open
tidoust opened this issue Jun 16, 2022 · 0 comments
Open

CSS checks: consider reporting unclosed parentheses #629

tidoust opened this issue Jun 16, 2022 · 0 comments

Comments

@tidoust
Copy link
Member

tidoust commented Jun 16, 2022

The value definition syntax allows parentheses as literals that represent their corresponding tokens.

This allowance means the extra parenthesis in the definition of <hsl()> (see w3c/csswg-drafts#7362) could be parsed without triggering any error. In practice, there should never be an open parenthesis without a closing one at the same level. Our tests could make sure that this is the case.

(This seems low priority such typos should be rare and are relatively easy to spot)

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

1 participant