File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed
test/test-cases/options-exportEmptyLocals-true Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ /* leaf node with contents */
2+ ._input__layer1A {
3+ color : red;
4+ }
5+
6+ ._input__layer2A /* doesn't add anything new */ {
7+ }
8+
9+ ._input__layer1B {
10+ /* totally empty, except for this comment */
11+ }
12+
13+ ._input__layer2B {
14+ background : blue;
15+ }
16+
17+ ._input__layer3 {
18+ }
19+
20+ ._input__foo > ._input__bar {
21+ }
22+
23+ ._input__baz > ._input__qux {
24+ font-style : italic;
25+ }
26+
27+ : export {
28+ layer1A : _input__layer1A;
29+ layer2A : _input__layer2A _input__layer1A;
30+ layer1B : _input__layer1B;
31+ layer2B : _input__layer2B _input__layer1B;
32+ layer3 : _input__layer3 _input__layer2A _input__layer1A _input__layer2B _input__layer1B;
33+ foo : _input__foo;
34+ bar : _input__bar;
35+ baz : _input__baz;
36+ qux : _input__qux;
37+ }
Original file line number Diff line number Diff line change 1+ /* leaf node with contents */
2+ : local (.layer1A ) {
3+ color : red;
4+ }
5+
6+ : local(.layer2A ) /* doesn't add anything new */ {
7+ composes : layer1A;
8+ }
9+
10+ : local (.layer1B ) {
11+ /* totally empty, except for this comment */
12+ }
13+
14+ : local (.layer2B ) {
15+ background : blue;
16+ composes : layer1B;
17+ }
18+
19+ : local (.layer3 ) {
20+ composes : layer2A;
21+ composes : layer2B;
22+ }
23+
24+ : local (.foo ) /* empty */ > : local (.bar ) {
25+ }
26+
27+ : local (.baz ) /* non-empty */ > : local (.qux ) {
28+ font-style : italic;
29+ }
You can’t perform that action at this time.
0 commit comments