mattbasta / crass

A CSS minifier and utility library for JavaScript
http://mattbasta.com/crass
MIT License
102 stars 6 forks source link

Improper transformation with O1 enabled #59

Open mattbasta opened 7 years ago

mattbasta commented 7 years ago
x{a:b;c:d long}y{c:d long}

With O1 on, this produces:

x, y {
  a: b;
  c: d long;
}

It should produce

x {
  a: b;
}
x, y {
  c: d long;
}