Skip to content

Nested @supports conditions don't render correctly #614

@xzyfer

Description

@xzyfer

Nested @supports conditions do not render correctly.

Input

@supports ((foo: bar) or (foo: bar) or (foo: bar)) and (foo: bar) {
  div {
    bar: baz;
  }
}

Expected output

@supports (foo: bar) or (foo: bar) or (foo: bar) and (foo: bar) {
  div {
    bar: baz; } }

Actual output

@supports (: or ) and (foo: bar) {
  div {
    bar: baz; } }

Specs added sass/sass-spec#122.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions