-
Notifications
You must be signed in to change notification settings - Fork 479
Closed
Description
It seems that since #448, the @rule viewport etc are supported, but anything that you would put into it, is not supported:
http://dev.w3.org/csswg/css-device-adapt/#the-atviewport-rule
Specifically often used currently causing csslint to barf is:
width: device-width;
but also the simplest statement of width:auto is not working.
Linting www/css/index.css ...ERROR
[GENERAL]
Fatal error, cannot continue: Cannot set property 'width' of undefined undefined (undefined)
As stated by rgrjoh, this indicates that parser-lib or csslint is likely looking for a selector, not a declaration. If it is not supported, then it should at least ignore it completely, until a time where it IS supported.