Skip to content

Commit 1d47053

Browse files
committed
Merge pull request #799 from mgreter/todo/issue_424
Add todo spec test for libsass issue 424
2 parents e3807a8 + 6ea7ed6 commit 1d47053

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
footer {
2+
color: red; }
3+
4+
/*.button {
5+
&-primary {
6+
background: orange;
7+
}
8+
9+
&-secondary {
10+
background: blue;
11+
}
12+
}*/
13+
.button-primary {
14+
background: orange; }
15+
16+
.button-secondary {
17+
background: blue; }
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
footer {
2+
color: red;
3+
}
4+
5+
// Ampersand in SassScript:
6+
/*.button {
7+
&-primary {
8+
background: orange;
9+
}
10+
11+
&-secondary {
12+
background: blue;
13+
}
14+
}*/
15+
16+
// Output:
17+
.button-primary {
18+
background: orange;
19+
}
20+
21+
.button-secondary {
22+
background: blue;
23+
}

0 commit comments

Comments
 (0)