Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style: Remove unit tests that test non-compliant stuff. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -145/+0 |
| | | | | <position> no longer parses three values. | ||||
* | Update MPL license to https (part 5) | Jan Andre Ikenmeyer | 2018-11-27 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-10 | 1 | -1/+1 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -1/+0 |
| | |||||
* | Remove testing feature from style crate | Manish Goregaokar | 2017-08-07 | 1 | -103/+1 |
| | |||||
* | Serialize 'minmax(auto, <flex>)' as '<flex>' | Nazım Can Altınova | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | Switch to GridTemplateComponent for subgrid line names | Ravi Shankar | 2017-07-03 | 1 | -3/+16 |
| | |||||
* | Add a truckload of tests for <track-size> and <track-list> | Ravi Shankar | 2017-05-18 | 1 | -1/+66 |
| | |||||
* | Refactor Position | Anthony Ramine | 2017-05-10 | 1 | -39/+43 |
| | | | | | | | | | | | | | | | | | | A specified position is now a struct made of two values of different types, the first one being PositionComponent<X>, and the second one PositionComponent<Y>. A position component is represented by the new enum PositionComponent<Side>, with the three values Center, Length(LengthOrPercentage), and Side(Side, Option<LengthOrPercentage>). Side keywords are represented by the X and Y enums, which don't include a value for the center keyword anymore. They are accompanied by the Side trait, which allows us to determine whether a side keyword is "left" or "top". This refactor simplified the parsing and serialisation code and exposed bugs in it, where it would reject valid <position> values followed by arbitrary tokens, and where it would fail to prefer "left" to "right" when serialising positions in basic shapes. | ||||
* | Centralize ParserContext for tests | J. Ryan Stinnett | 2017-04-14 | 1 | -4/+1 |
| | | | | | | | To simplify adding additional data to `ParserContext`, this moves test usages to a few shared locations, instead of being spread across many tests. MozReview-Commit-ID: 1OahV797eq | ||||
* | Pull rule_type into ParserContext | J. Ryan Stinnett | 2017-04-12 | 1 | -1/+1 |
| | | | | | | | Absorb `rule_type` into the `ParserContext` so that it's easier to pass down to deeper levels of the parser. MozReview-Commit-ID: DjBNytLxGKX | ||||
* | Add parsing/serialisation for 'grid-auto-flow' | George White | 2017-03-18 | 1 | -0/+25 |
| | |||||
* | Invalid three value positions are no longer accepted | shubDhond | 2017-02-23 | 1 | -0/+5 |
| | |||||
* | Implement HorizontalPosition / VerticalPosition | Nazım Can Altınova | 2016-12-12 | 1 | -0/+75 |
| | |||||
* | Fix the unit tests to use context | Ravi Shankar | 2016-11-27 | 1 | -27/+30 |
| | |||||
* | Fix related to #14101 | Artem Biryukov | 2016-11-12 | 1 | -0/+1 |
| | | | | Add Parse trait implementation for some structures | ||||
* | Fix the unit tests to make use of local ToCss | Ravi Shankar | 2016-11-07 | 1 | -0/+1 |
| | |||||
* | Change parsing behavior and implement to_computed_value function | Nazım Can Altınova | 2016-08-27 | 1 | -16/+41 |
| | |||||
* | Add serialize_four_sides, use for serializing BorderRadius | Manish Goregaokar | 2016-08-02 | 1 | -0/+4 |
| | |||||
* | Add roundtrip parsing tests for basic_shape/position | Manish Goregaokar | 2016-08-02 | 1 | -0/+30 |