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
ConnorSkees
a55cf39cc2
add @ error tests
2020-04-06 00:34:48 -04:00
ConnorSkees
ef282c5c18
consolidate inspect implementations
2020-04-06 00:27:09 -04:00
ConnorSkees
4ab4f401d5
@ debug has the same output as inspect()
2020-04-06 00:23:58 -04:00
ConnorSkees
f0c1d508e6
refactor @ warn and @ debug parsing
2020-04-06 00:13:15 -04:00
ConnorSkees
44ff1c99b3
add helper function Value::from_vec
2020-04-06 00:11:18 -04:00
ConnorSkees
81e84536da
refactor @ error to just be a real error
2020-04-05 23:56:08 -04:00
ConnorSkees
b0c89ff8b9
refactor atrule kind to separate file
2020-04-05 23:37:55 -04:00
ConnorSkees
05fde03697
refactor @ for parsing to separate file
2020-04-05 23:36:24 -04:00
ConnorSkees
13a96273e4
emit charset only when output contains utf-8
2020-04-05 23:20:47 -04:00
ConnorSkees
74dab6872f
rename css.rs to output.rs
2020-04-05 22:47:12 -04:00
ConnorSkees
49aa66eb78
refactor max_args error message
2020-04-05 20:19:46 -04:00
ConnorSkees
a8ab6b1675
test for unquoted string escape equality
2020-04-05 20:08:48 -04:00
ConnorSkees
355643f538
proper error message for builtin fn expecting 0 args
2020-04-05 18:46:19 -04:00
ConnorSkees
50778bd743
random with limit is 1<=n<=limit
2020-04-05 18:30:17 -04:00
ConnorSkees
d67fe948d6
implement builtin function unique-id
2020-04-05 18:20:58 -04:00
ConnorSkees
3024c3894a
remove ops and add strings to todo
2020-04-05 17:42:08 -04:00
ConnorSkees
d550615957
implement order of operations
2020-04-05 17:34:30 -04:00
ConnorSkees
c8a59ea501
implement builtin function random
2020-04-05 13:42:53 -04:00
ConnorSkees
03ac46d268
add rand as optional but default dep
2020-04-05 13:42:18 -04:00
ConnorSkees
b52af759f2
add number of related tests to missing features
2020-04-05 12:55:39 -04:00
ConnorSkees
86f2ac6a6c
remove placeholders in pseudo parens closer to correct
2020-04-05 12:52:02 -04:00
ConnorSkees
49d823c990
add sass nesting spec test verbatim
2020-04-05 02:48:17 -04:00
ConnorSkees
b7b58c2ac6
selector unification of pseudo parens
2020-04-05 02:39:38 -04:00
ConnorSkees
b2451b45c6
refactor paren parsing (still susceptible to stack overflow)
2020-04-04 21:08:25 -04:00
ConnorSkees
bf8cb594da
rustfmt
2020-04-04 21:07:53 -04:00
ConnorSkees
598f79ab50
allow selectors to begin with 0-9
2020-04-04 21:05:22 -04:00
ConnorSkees
cdcb84b7b2
escape [] in attribute doc comment
2020-04-04 19:07:00 -04:00
ConnorSkees
b44c064481
Rename value/function.rs to value/sass_function.rs
...
This is to faciliate the addition of src/value/css_function.rs and the
inclusion of a special type `CssFunction` which represents a plain css
function.
2020-04-04 18:55:59 -04:00
ConnorSkees
b7be1705a2
args and default values are lazily evaluated
2020-04-04 18:17:04 -04:00
ConnorSkees
ece0f5afde
allow !global in mixins and functions
2020-04-04 14:53:08 -04:00
ConnorSkees
dee4462cc7
add sass color spec tests verbatim
2020-04-04 14:13:37 -04:00
ConnorSkees
24983b9d20
rustfmt
2020-04-04 14:13:17 -04:00
ConnorSkees
24caa20aad
implement Debug for SassFunction
2020-04-04 14:05:26 -04:00
ConnorSkees
bac1b2494a
implemented call and get-function
2020-04-04 12:59:05 -04:00
ConnorSkees
943299de74
better handling of $module in get-function
2020-04-04 12:45:30 -04:00
ConnorSkees
065f6515e9
disallow both css and module in get-function
2020-04-04 12:38:07 -04:00
ConnorSkees
051185e280
implement builtin function call()
2020-04-04 12:31:43 -04:00
ConnorSkees
c0eaf4c5f6
allow semicolon after closing brace
2020-04-04 03:00:38 -04:00