ConnorSkees
1cd38f0317
Convert errors to strings for pretty printing
2020-01-20 12:13:52 -05:00
ConnorSkees
b25fe63e8e
Further reduce usage of .clone()
2020-01-18 21:05:26 -05:00
ConnorSkees
9be0826d01
Refactor how StyleSheet is constructed
2020-01-18 14:57:56 -05:00
ConnorSkees
cbef775ef4
Consolidate tests to be on CSS output rather than internal representation
2020-01-14 20:23:05 -05:00
ConnorSkees
ebfeb35341
Refactor Selector to be Vec rather than recursive enum
...
The initial implementation of Selector was a recursive
enum with boxed variants. This new implementation is linear
and relies on only one level of indirection.
2020-01-11 14:51:31 -05:00
ConnorSkees
a3ecfbbf3e
Preserve toplevel multiline comments and add tests for them
2020-01-08 20:39:05 -05:00
ConnorSkees
46a6fd90f6
rustfmt
2020-01-06 19:23:52 -05:00
ConnorSkees
08ab3261b1
Add more tests for variables
2020-01-06 18:52:37 -05:00
ConnorSkees
3ba585b40d
Refactor style parsing to separate module
2020-01-06 16:50:16 -05:00
ConnorSkees
3324a42f49
Add tests for !important and concatenating hyphens
2020-01-06 00:39:02 -05:00
ConnorSkees
61a6b5eeeb
Refactor handling of styles to handle spaces and quotes
2020-01-05 20:51:14 -05:00
ConnorSkees
e3aae97767
Accept _ and - in identifiers
2020-01-05 20:26:47 -05:00
ConnorSkees
b756973b08
Add variable whitespace tests
2020-01-05 19:47:24 -05:00
ConnorSkees
b0276d8349
Add tests for variables
2020-01-05 19:09:46 -05:00
ConnorSkees
3d0ae02b0a
clippy & rustfmt
2020-01-05 12:52:50 -05:00
ConnorSkees
3722ca98a0
Consolidate pretty printing structs
2020-01-05 12:35:37 -05:00
ConnorSkees
197129aa6d
Test multiline and deeply nested styles
2020-01-05 12:22:10 -05:00
ConnorSkees
f4278a29b7
Implement lexing, basic parsing, and pretty printing
2020-01-04 22:55:04 -05:00