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

Fix ID selector syntax #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

annbgn
Copy link
Contributor

@annbgn annbgn commented Apr 6, 2021

In issue #24 it is mentioned that https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier says:

cannot start with a digit, two hyphens, or a hyphen followed by a digit

this pr adds validation for the 3 cases mentioned and raises error. tests are also extended.

@Gallaecio
Copy link
Member

#24 (comment)

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

Successfully merging this pull request may close these issues.

2 participants