ConnorSkees
4ba45bb8c1
more robust handling of is_null
2020-04-19 00:39:18 -04:00
ConnorSkees
deff857d59
remove TODO related to interpolation in comments
2020-04-18 21:38:37 -04:00
ConnorSkees
cb8be064a9
interpolation in multiline comments
2020-04-18 21:01:12 -04:00
ConnorSkees
71546d7fc4
handle -(null) and -null
2020-04-18 20:45:40 -04:00
ConnorSkees
305581ad75
properly error when attempting to display map
2020-04-18 20:11:49 -04:00
ConnorSkees
0a5c6b907c
test mul unit display errors
2020-04-18 19:50:14 -04:00
ConnorSkees
47b7ece6c5
update tests to include new API changes
2020-04-18 19:08:35 -04:00
ConnorSkees
a3a218f950
Remove StyleSheet::print_as_css from main
2020-04-18 18:59:16 -04:00
ConnorSkees
9a72d9714a
BREAKING: consolidate StyleSheet::print_as_css
2020-04-18 18:53:18 -04:00
ConnorSkees
8955042359
Remove SCSS unit tests
...
The behavior tested by them is redundantly tested in the integration
tests. In addition, the behavior inside format.rs is redundant and will
eventually be removed.
2020-04-18 18:46:17 -04:00
ConnorSkees
759e5fdfef
simplify ident addition/subtraction
2020-04-18 13:44:11 -04:00
ConnorSkees
fc51798595
change several if statements to match
2020-04-18 13:22:06 -04:00
ConnorSkees
52c6ed0b64
remove QuoteKind::Single variant
2020-04-18 13:19:30 -04:00
ConnorSkees
a83aef04ca
use Spanned::map_node rather than destructuring
2020-04-18 13:03:54 -04:00
ConnorSkees
5d2d236a82
bump codemap
2020-04-17 13:17:39 -04:00
ConnorSkees
a5b54e3ed0
toplevel docs for color module
2020-04-17 13:16:15 -04:00
ConnorSkees
09ee456b96
explicitly match on all units in Unit::kind
2020-04-17 13:12:06 -04:00
ConnorSkees
de78c1147a
manually resolve some formatting issues
2020-04-17 13:06:54 -04:00
ConnorSkees
5255c7d829
make todo comment more explicit
2020-04-14 22:40:19 -04:00
ConnorSkees
7181077163
interchangeable underscore/hyphen in builtin functions
2020-04-13 12:57:25 -04:00
ConnorSkees
409fa3a1dd
eval args to zip
2020-04-13 12:28:40 -04:00
ConnorSkees
2b784f273a
function arg spans include the entire list
2020-04-13 12:20:56 -04:00
ConnorSkees
f0895db939
bump version to 0.6.0
2020-04-12 22:18:02 -04:00
ConnorSkees
502528c914
replace @font-fact with @supports
2020-04-12 22:03:40 -04:00
ConnorSkees
eb57f6f092
parse normal css atrules as unknown
2020-04-12 21:56:27 -04:00
ConnorSkees
c017ccfeb4
toplevel atrules within selectors
2020-04-12 21:47:32 -04:00
ConnorSkees
62f9f7da4f
integrate error handling with codemap
2020-04-12 19:37:12 -04:00
ConnorSkees
e833650af0
refactor test macros to handle new errors
2020-04-12 14:22:52 -04:00
ConnorSkees
1d2f645f35
add codemap add dependency
2020-04-12 14:21:47 -04:00
ConnorSkees
441962d8d5
Create rustfmt.toml
2020-04-10 14:21:11 -04:00
ConnorSkees
4868704914
implemented some special functions
2020-04-07 00:10:18 -04:00
ConnorSkees
0ddabb5afd
hsl/hsla 4 args special functions
2020-04-07 00:04:19 -04:00
ConnorSkees
6b817dcb24
hsl/hsla 3 args special functions
2020-04-06 23:38:17 -04:00
ConnorSkees
b17420e00b
dont emit comma on one arg two channels special
2020-04-06 22:38:55 -04:00
ConnorSkees
203200ca4c
emit rgba inside rgba for two args special
2020-04-06 22:35:07 -04:00
ConnorSkees
b545c162f5
two arg special function rgb/rgba
2020-04-06 22:33:12 -04:00
ConnorSkees
c95c69be4d
avoid unwrapping in special functions rgb/rgba one arg green
2020-04-06 22:26:43 -04:00
ConnorSkees
65ba25e555
handle special functions in 1 arg rgb/rgba
2020-04-06 22:09:36 -04:00
ConnorSkees
b5a0957aa7
handle special functions in 3args rgba
2020-04-06 21:58:47 -04:00
ConnorSkees
97425665f9
consolidate implementation of rgb and rgba
2020-04-06 21:22:03 -04:00
ConnorSkees
7e793392a7
handle special functions calc, element, expression, and progid
2020-04-06 19:26:47 -04:00
ConnorSkees
ce346077f9
properly parse plain css functions
2020-04-06 15:35:46 -04:00
ConnorSkees
9faaabebfa
rename ordering tests
2020-04-06 15:27:00 -04:00
ConnorSkees
6d63b1bda4
implemented @ at-root
2020-04-06 14:41:56 -04:00
ConnorSkees
47330a92c6
Selector::replace takes super selector by reference
2020-04-06 14:40:28 -04:00
ConnorSkees
26fdcfdf17
interpolated ampersand in at-root
2020-04-06 14:30:36 -04:00
ConnorSkees
8802a92f9b
at-root with nothing contains super selector
2020-04-06 13:30:36 -04:00
ConnorSkees
648dc04c33
initial implementation of @ at-root
2020-04-06 13:13:03 -04:00
ConnorSkees
526ed4fde0
add commas to at-root tests
2020-04-06 00:51:12 -04:00
ConnorSkees
074b6b50ce
initial at-root tests
2020-04-06 00:44:12 -04:00