libsass icon indicating copy to clipboard operation
libsass copied to clipboard

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

Open nex3 opened this issue 3 years ago • 0 comments

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.

nex3 avatar Nov 04 '20 03:11 nex3