1101 Commits

Author SHA1 Message Date
ConnorSkees
e2fcfeec47 rustfmt 2020-02-28 18:32:11 -05:00
ConnorSkees
bc2c927aa7 Properly emit @charset 2020-02-28 18:27:32 -05:00
ConnorSkees
1dfe77bcff Better mixin error messages 2020-02-28 01:06:51 -05:00
ConnorSkees
46b96d03b1 Refactor how @return is parsed 2020-02-28 01:02:11 -05:00
ConnorSkees
a91ab9007e Rename Token method equals_symbol to is_symbol 2020-02-28 01:01:31 -05:00
ConnorSkees
8619f88806 Remove unused QuoteKind impl 2020-02-28 00:41:14 -05:00
ConnorSkees
9eba5e9a14 2020-02-24 tests 2020-02-24 20:16:19 -05:00
ConnorSkees
906ca62a37 By default emit double quotes 2020-02-24 20:06:07 -05:00
ConnorSkees
9f81efe812 Print quotes properly when string contains quotes 2020-02-24 19:49:24 -05:00
ConnorSkees
6c5cf4b405 properly escape backslashes 2020-02-24 19:13:28 -05:00
ConnorSkees
c4d365a124 Create spaced list when values are adjacent 2020-02-24 19:05:50 -05:00
ConnorSkees
fba6f2eb73 Properly emit quotes after interpolation 2020-02-24 18:58:09 -05:00
ConnorSkees
465ac1b381 Fix bug where styles after quote were gobbled 2020-02-24 18:11:01 -05:00
ConnorSkees
8c6be57872 Handle curly braces in quotes in styles 2020-02-24 17:47:32 -05:00
ConnorSkees
c2e339fb5b Remove inner _parse_interpolation() 2020-02-24 17:08:49 -05:00
ConnorSkees
a645424186 Refactor handling of quotes inside interpolation 2020-02-24 16:58:48 -05:00
ConnorSkees
54e71130e7 Strings containing interpolation are double quoted 2020-02-24 15:18:53 -05:00
ConnorSkees
011577c9f6 test for interpolation in attribute selectors 2020-02-24 15:10:30 -05:00
ConnorSkees
4c32d97971 remove comment 2020-02-24 15:10:15 -05:00
ConnorSkees
9877f4a0e0 Attribute selectors are parsed after lexing 2020-02-24 15:07:18 -05:00
ConnorSkees
404c7fb66a Various tests 2020-02-24 09:38:05 -05:00
ConnorSkees
776e6444e6 rustfmt 2020-02-24 09:37:32 -05:00
ConnorSkees
e8ee76f7dc Properly parse single quoted strings and string interpolation 2020-02-24 09:36:17 -05:00
ConnorSkees
4c3f5e24ee Handle utf8 input (a bit) 2020-02-23 07:52:14 -05:00
ConnorSkees
ef4a9e9ded Strings can start with # and don't have to be colors 2020-02-23 07:41:00 -05:00
ConnorSkees
dff4798a68 Better mixin parsing error message 2020-02-23 07:32:40 -05:00
ConnorSkees
023bc647bd Properly handle trailing commas combined with newlines 2020-02-22 18:33:42 -05:00
ConnorSkees
53861ccb0d clippy 2020-02-22 17:57:13 -05:00
ConnorSkees
4ee9cc72a6 Preserve newlines after , in selectors 2020-02-22 17:26:30 -05:00
ConnorSkees
686c3f0a51 Remove extraneous selector display tests 2020-02-22 17:11:12 -05:00
ConnorSkees
bf0ce2fe1a Correctly print whitespace when no params in at rule 2020-02-22 17:09:15 -05:00
ConnorSkees
260b357bba Test for unknown at rules 2020-02-22 17:08:58 -05:00
ConnorSkees
735f222e15 Style namespaces can have variables come before them 2020-02-22 16:41:10 -05:00
ConnorSkees
a3b260c0bd Allow nested unknown @ rules 2020-02-22 15:34:32 -05:00
ConnorSkees
a6cc86e4db Create tests for media queries 2020-02-22 13:03:02 -05:00
ConnorSkees
8c227290a0 Flatten whitespace in media query 2020-02-22 12:56:23 -05:00
ConnorSkees
d1d636fa17 Trim whitespace from media query 2020-02-22 12:53:58 -05:00
ConnorSkees
71b4729613 Toplevel unknown at rules 2020-02-22 12:02:52 -05:00
ConnorSkees
c8e3462e74 placeholder for unknown at rules in Display 2020-02-22 12:00:07 -05:00
ConnorSkees
a4cd8ae02c rustfmt 2020-02-22 11:59:33 -05:00
ConnorSkees
e6120a0f59 Properly convert unknown at rules to css 2020-02-22 11:59:16 -05:00
ConnorSkees
d114509464 Parse and construct unknown at rules 2020-02-22 11:58:30 -05:00
ConnorSkees
cacf8c41ab Implement Selector::new() utility function 2020-02-22 10:25:30 -05:00
ConnorSkees
2c38db8703 2020-02-18 tests 2020-02-18 07:09:12 -05:00
ConnorSkees
fa665ae55f color addition is undefined 2020-02-17 10:39:32 -05:00
ConnorSkees
844b506872 Value operations can fail 2020-02-17 10:27:04 -05:00
ConnorSkees
0e2e5cb8bc Add period to mixin error message 2020-02-17 10:02:44 -05:00
ConnorSkees
af4917a4e6 correct regression in toplevel & error message
Broken in bb16060ddb8df75b2096966dda1e5c700a494407
2020-02-17 09:53:10 -05:00
ConnorSkees
85a2c8eaeb Better error for missing identifier after : in selector 2020-02-17 09:40:30 -05:00
ConnorSkees
bb16060ddb rustfmt 2020-02-17 09:37:34 -05:00