Skip to content

Commit a5988ed

Browse files
committed
test: add test case for the current handling of empty local blocks
1 parent c46d990 commit a5988ed

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
._input__layer1A {
2+
color: red;
3+
}
4+
5+
._input__layer2A {
6+
}
7+
8+
._input__layer1B {
9+
}
10+
11+
._input__layer2B {
12+
background: blue;
13+
}
14+
15+
._input__layer3 {
16+
}
17+
18+
:export {
19+
layer1A: _input__layer1A;
20+
layer2A: _input__layer2A _input__layer1A;
21+
layer1B: _input__layer1B;
22+
layer2B: _input__layer2B _input__layer1B;
23+
layer3: _input__layer3 _input__layer2A _input__layer1A _input__layer2B _input__layer1B;
24+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
:local(.layer1A) {
2+
color: red;
3+
}
4+
5+
:local(.layer2A) {
6+
composes: layer1A;
7+
}
8+
9+
:local(.layer1B) {
10+
}
11+
12+
:local(.layer2B) {
13+
background: blue;
14+
composes: layer1B;
15+
}
16+
17+
:local(.layer3) {
18+
composes: layer2A;
19+
composes: layer2B;
20+
}

0 commit comments

Comments
 (0)