-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
extract-and-length.css
133 lines (133 loc) · 2.31 KB
/
extract-and-length.css
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.multiunit {
length: 6;
extract: abc "abc" 1 1px 1% #123;
}
.incorrect-index {
v1: extract(a b c, 5);
v2: extract(a, b, c, -2);
}
.scalar {
var-value: variable;
var-length: 1;
ill-index: extract(variable, 2);
name-value: name;
string-value: "string";
number-value: 12345678;
color-value: blue;
rgba-value: rgba(80, 160, 240, 0.67);
empty-value: ;
name-length: 1;
string-length: 1;
number-length: 1;
color-length: 1;
rgba-length: 1;
empty-length: 1;
}
.mixin-arguments-1 {
length: 4;
extract: c | b | a;
}
.mixin-arguments-2 {
length: 4;
extract: c | b | a;
}
.mixin-arguments-3 {
length: 4;
extract: c | b | a;
}
.mixin-arguments-4 {
length: 0;
extract: extract(, 2) | extract(, 1);
}
.mixin-arguments-2 {
length: 4;
extract: c | b | a;
}
.mixin-arguments-3 {
length: 4;
extract: c | b | a;
}
.mixin-arguments-4 {
length: 3;
extract: c | b;
}
.mixin-arguments-2 {
length: 4;
extract: 3 | 2 | 1;
}
.mixin-arguments-3 {
length: 4;
extract: 3 | 2 | 1;
}
.mixin-arguments-4 {
length: 3;
extract: 3 | 2;
}
.md-space-comma {
length-1: 3;
extract-1: 1 2 3;
length-2: 3;
extract-2: 2;
}
.md-space-comma-as-args-2 {
length: 3;
extract: "x" "y" "z" | 1 2 3 | a b c;
}
.md-space-comma-as-args-3 {
length: 3;
extract: "x" "y" "z" | 1 2 3 | a b c;
}
.md-space-comma-as-args-4 {
length: 2;
extract: "x" "y" "z" | 1 2 3;
}
.md-cat-space-comma {
length-1: 3;
extract-1: 1 2 3;
length-2: 3;
extract-2: 2;
}
.md-cat-space-comma-as-args-2 {
length: 3;
extract: "x" "y" "z" | 1 2 3 | a b c;
}
.md-cat-space-comma-as-args-3 {
length: 3;
extract: "x" "y" "z" | 1 2 3 | a b c;
}
.md-cat-space-comma-as-args-4 {
length: 2;
extract: "x" "y" "z" | 1 2 3;
}
.md-cat-comma-space {
length-1: 3;
extract-1: 1, 2, 3;
length-2: 3;
extract-2: 2;
}
.md-cat-comma-space-as-args-1 {
length: 3;
extract: "x", "y", "z" | 1, 2, 3 | a, b, c;
}
.md-cat-comma-space-as-args-2 {
length: 3;
extract: "x", "y", "z" | 1, 2, 3 | a, b, c;
}
.md-cat-comma-space-as-args-3 {
length: 3;
extract: "x", "y", "z" | 1, 2, 3 | a, b, c;
}
.md-cat-comma-space-as-args-4 {
length: 0;
extract: extract(, 2) | extract(, 1);
}
.md-3D {
length-1: 2;
extract-1: a b c d, 1 2 3 4;
length-2: 2;
extract-2: 5 6 7 8;
length-3: 4;
extract-3: 7;
length-4: 1;
extract-4: 8;
}