-
Notifications
You must be signed in to change notification settings - Fork 136
In An+B notation, it should be invalid to have comment between "A" and "n" #138
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
Comments
What is "should" if not according to a spec? |
The spec says inserting whitespace there is invalid, so presumably adding comment is invalid as well? I suspect it indicates that |
So, yeah, |
Without the comment, With the comment it becomes an integer token, then an ident token, then an integer token with a plus sign. This does not match that grammar. |
If I add |
Oh, it seems I misunderstood the test result. It is Gecko who's wrong on this. |
(Gecko was correct according to the Selectors Level 3 definition: |
Things like
:nth-child(-1/**/n+1)
should be invalid.It is not clear to me whether the spec matches that.
cc @SimonSapin
The text was updated successfully, but these errors were encountered: