css-parsing-tests icon indicating copy to clipboard operation
css-parsing-tests copied to clipboard

Implementation-independant, JSON-based tests for CSS parsers

Results 4 css-parsing-tests issues
Sort by recently updated
recently updated
newest added

## Update the supported Syntax module to the 2021 version - [x] Use the new `urange` type - [x] Parse `url()` functions with a string as normal functions (already done,...

According to the [CSS Syntax draft](https://drafts.csswg.org/css-syntax/#would-start-an-identifier), an identifier can start with two minus signs (`--`). This is not supported in the parsing tests.

Existing test cases can be used to test CSS serialization by checking that `parse(serialize(parse(input))) == parse(input)` for any input, (_TODO:_ document this in the README) but we should add more...

… are not tested. See http://www.w3.org/TR/css3-color/#css2-system https://github.com/mozilla-servo/rust-cssparser/issues/2