We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/ajaxorg/ace/blob/v1.2.8/lib/ace/mode/css/csslint.js#L1737-L1771 The comment correctly defines a media query expression as '(' S* media_feature S* [ ':' S* expr ]? ')' S* but in the code the first S* is missing. E.g. @media all and ( max-width: 100px ) {} is a valid media query rule that gets erroneously rejected.
'(' S* media_feature S* [ ':' S* expr ]? ')' S*
S*
@media all and ( max-width: 100px ) {}
The text was updated successfully, but these errors were encountered:
Fix missing whitespace in csslint media expression
f0044f7
Fixes the grammar matching logic for 'expression' from CSS3 Media Queries to match the spec. Fixes ajaxorg#3356.
Successfully merging a pull request may close this issue.
https://github.com/ajaxorg/ace/blob/v1.2.8/lib/ace/mode/css/csslint.js#L1737-L1771
The comment correctly defines a media query expression as
'(' S* media_feature S* [ ':' S* expr ]? ')' S*
but in the code the firstS*
is missing. E.g.@media all and ( max-width: 100px ) {}
is a valid media query rule that gets erroneously rejected.The text was updated successfully, but these errors were encountered: