parser-lib icon indicating copy to clipboard operation
parser-lib copied to clipboard

Collection of parsers written in JavaScript

Results 24 parser-lib issues
Sort by recently updated
recently updated
newest added

…anymore. Maybe I shouldn't throw the SyntaxError though. What do you think?

http://www.w3.org/TR/css-variables/ In current version parser doesn't tolerate it. I need it on my side, and currently I work with customized version of parser that provides that. I can help implement...

Please support 'fr' units, as listed on https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns . Original request: https://github.com/CSSLint/csslint/issues/691

The `overflow-wrap` attribute currently allows `break-word` and `normal`, but is missing the `anywhere` value. See https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap

- Add `space-evenly` and potentially others to `justify-content` (https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content) - Add `break-word` and potentially others to `word-break` (https://developer.mozilla.org/en-US/docs/Web/CSS/word-break) Locations for a fix: https://github.com/CSSLint/parser-lib/blob/master/src/css/Properties.js#L290 and https://github.com/CSSLint/parser-lib/blob/master/src/css/Properties.js#L488 See CSSLint/csslint#757

This fixes #228 and the associated CSSLint/CSSLint#691. Renamed a method, and didn't remove existing dimension "tokens" to keep compatibility. The reduction of parse failures is intentional.

Added a handful of SVG attributes to the props definition list [using the MDN SVG Attribute reference](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute). This PR adds the following attrs: `calcMode`, `clipPathUnits`, `cx`, `cy`, and `r`.