Skip to content

Ignore or support all CSS viewport descriptors #461

@hartman

Description

@hartman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions