forked from leafo/scssphp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo
More file actions
49 lines (27 loc) · 981 Bytes
/
todo
File metadata and controls
49 lines (27 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
* change all calls to reduce to not suppress division where appropriate
* make it so calc function doesn't evaluate arguments, open string
* store count in elements so we can have position of compile time errors
* failed parsing paths can add comments early
misc:
* comma separated list literals in parens (for function/mixin calls)
append(10px 20px, 30px 40px) => 10px 20px (30px 40px) # DOCS are wrong about this?
# sequence merging:
a b c d { color: red; }
x y z w { @extend a; }
a b c d, x y z w b c d { color: red; }
a b c d { color: red; }
x y z w { @extend b; }
a b c d, a x y z w c d, x y z a w c d { color: red; }
a b c d { color: red; }
x y z w { @extend c; }
a b c d, a b x y z w d, x y z a b w d { color: red; }
x y z a b w d
before: a b
after: d
new: x y z w
a b c d { color: red; }
x y z w { @extend d; }
a b c d, a b c x y z w, x y z a b c w { color: red; }
->> new[:-1] . before . new[-1] . after
new.len > 1
before not empty