NV / CSSOM

Unmaintained! ⚠️ CSS Object Model implemented in pure JavaScript. Also, a CSS parser.
https://nv.github.io/CSSOM/docs/parse.html
MIT License
752 stars 99 forks source link

@supports bug #93

Closed thomashigginbotham closed 6 years ago

thomashigginbotham commented 6 years ago

While running cssom on Twitter Bootstrap's CSS, I received an error and was able to narrow it down to the use of @supports. Here's some sample code that will cause the error.

@supports (transform-style: preserve-3d) {
  .foo {
    transform: translate3d(0, 0, 0);
  }
}

Error: Unexpected }

thomashigginbotham commented 6 years ago

I created a pull request that fixes this issue.

NV commented 6 years ago

Fixed in #96.