File tree Expand file tree Collapse file tree 2 files changed +21
-32
lines changed
spec/css/custom_properties Expand file tree Collapse file tree 2 files changed +21
-32
lines changed Original file line number Diff line number Diff line change
1
+ <===> literal/input.scss
2
+ .empty {
3
+ --property:;
4
+ }
5
+
6
+ <===> literal/output.css
7
+ .empty {
8
+ --property:;
9
+ }
10
+
11
+ <===>
12
+ ================================================================================
13
+ <===> interpolation/input.scss
14
+ .empty {
15
+ --property:#{""};
16
+ }
17
+
18
+ <===> interpolation/output.css
19
+ .empty {
20
+ --property:;
21
+ }
Original file line number Diff line number Diff line change 1
- <===> empty/input.scss
2
- // CSS requires at least one token in a custom property.
3
- .empty {
4
- --property:;
5
- }
6
-
7
- <===> empty/error
8
- Error: Expected token.
9
- ,
10
- 3 | --property:;
11
- | ^
12
- '
13
- input.scss 3:14 root stylesheet
14
-
15
- <===>
16
- ================================================================================
17
- <===> empty_interpolation/input.scss
18
- // CSS requires at least one token in a custom property.
19
- .empty {
20
- --property:#{""};
21
- }
22
-
23
- <===> empty_interpolation/error
24
- Error: Custom property values may not be empty.
25
- ,
26
- 3 | --property:#{""};
27
- | ^^^^^
28
- '
29
- input.scss 3:14 root stylesheet
30
-
31
- <===>
32
- ================================================================================
33
1
<===> nested/input.sass
34
2
.no-nesting
35
3
--foo: bar
You can’t perform that action at this time.
0 commit comments