Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Invalid CSS after "... @media all": expected "{", was #2231

@YamiOdymel

Description

@YamiOdymel

input.scss [FAILED]

foo {
  @media all -webkit-device-pixel-ratio {
    a: b;
  }
}

input.scss [FAILED]

foo {
  @media hello -webkit-device-pixel-ratio {
    a: b;
  }
}

input.scss [PASSED]

foo {
  @media not -webkit-device-pixel-ratio {
    a: b;
  }
}

Error

Module build failed:
            @media all -webkit-device-pixel-ratio
                  ^
      Invalid CSS after "...     @media all": expected "{", was "-webkit-device-pixe"

version info:

$ node-sass --version
node-sass       3.14.0-0 (Wrapper)       [JavaScript]
libsass         3.3.6    (Sass Compiler) [C/C++]

Relates to #2095 perhaps?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions