Skip to content

Small media query parsing bug #4356

@matthew-dean

Description

@matthew-dean

To reproduce:

@media ((color) and (hover)), all { 
  body {
    background: green;
  }
}

Current behavior:

Parsing error, missing closing ')'

Expected behavior:

You can check the CSS validator to see this is valid. Just randomly came across this today.

Environment information:

  • less version:
  • nodejs version:
  • operating system:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions