Skip to content

Don't allow mixed "and" and "or" in @supports conditions #3134

@nex3

Description

@nex3

Per the @supports spec (and also the more recent version), a condition should only have one of and or or specified at the top-level. In particular:

@supports (a: b) and (c: d) or (e: f) {
  // ...
}

should be an error. However, in LibSass, it is not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions