shady-css-parser
shady-css-parser copied to clipboard
A fast, small and flexible CSS parser.
The test case that is failing currently is `.foo{font-weight:300;@charset "UTF-8"}.bar{width:100vw;}`. Expected result: .foo{font-weight:300;@charset "UTF-8";}.bar{width:100vw;}
... is there an in-browser distribution of this library? Would be great if there were on instructions on how to use this library client-side.
The Parse is unable to gracefully recover css with incomplete @ rule. I'm getting an error on parsing css from the user input: TypeError: Cannot read property 'start' of null...
I'm getting error from polymer build ``` error: Uncaught exception: TypeError: Cannot read property 'is' of null error: TypeError: Cannot read property 'is' of null at Parser.parseDeclarationOrRuleset (shady-css-parser\dist\shady-css\parser.js:191:33) at Parser.parseRule...
## Polymer Shop (build issues) When running `polymer build --verbose`, I'm getting a few syntax errors: ``` 'SyntaxError: Unexpected character \'#\'', 'SyntaxError: Unexpected character \'`\'' ``` **Source Code:** https://github.com/oneezy/shopSFI **Full...
Given a sheet ``` css .foo, .bar, /* comment */ .baz { border: 2px solid black; } ``` and a stringifier ``` js class Stringifer extends shadyCssParser.Stringifier { comment() {...