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

Already on GitHub? Sign in to your account

@-ms-viewport is still an error #443

Closed
cvrebert opened this Issue Jan 6, 2014 · 5 comments

Comments

Projects
None yet
5 participants
Contributor

cvrebert commented Jan 6, 2014

Regression of #401? Still seeing it over at Bootstrap:

bootstrap (master) $ npm list | grep css
├─┬ grunt-contrib-csslint@0.2.0
│ └─┬ csslint@0.10.0
bootstrap (master) $ grunt csslint
Running "csslint:src" (csslint) task
Linting dist/css/bootstrap.css ...ERROR
[...]
[L7278:C1]
>> Unknown @ rule: @-ms-viewport. This rule looks for recoverable syntax errors. (errors)
[...]
Warning: Task "csslint:src" failed. Use --force to continue.

Aborted due to warnings.
Member

nschonni commented Jan 6, 2014

Parserlib needs a new release for this to be fixed.

WayneYe commented Mar 13, 2014

@cvrebert Still see this issue:
Running "csslint:src" (csslint) task
Linting dist/css/bootstrap.css ...ERROR
[L5863:C1]

Unknown @ rule: @-ms-viewport. This rule looks for recoverable syntax errors. (errors)
Warning: Task "csslint:src" failed. Use --force to continue.

Aborted due to warnings.

@nschonni nschonni added this to the 0.11.0 milestone Apr 2, 2014

@nschonni nschonni added the Parser label Apr 2, 2014

Contributor

cvrebert commented May 10, 2014

Fixed by the parserlib version bump in #427.

@cvrebert cvrebert closed this May 10, 2014

replete commented May 24, 2015

I'm still getting this error in v0.10.0.

[12:06:47] [L50:C1] @-o-viewport { Unknown @ rule: @-o-viewport.  (errors)

Would be so bad if the inline comment syntax worked better, I'm finding irregular results.

/*csslint known-properties:false */
@-ms-viewport {width: device-width;}
@-o-viewport {width: device-width;}
@viewport {width: device-width;}
/*csslint known-properties:true */
Contributor

cvrebert commented May 24, 2015

@replete Right, it's fixed in master but the maintainers haven't made a release version since then; see #514.

@XhmikosR XhmikosR modified the milestones: 0.11.0, 1.0.0 Jan 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment