Skip to content

Commit 9a8fa70

Browse files
authored
Merge pull request #1478 from mgreter/todo/issue-2959
Add todo spec test for libsass issue 2959
2 parents 6207f4f + 5075c02 commit 9a8fa70

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<===> input.scss
2+
%color {
3+
color: blue;
4+
}
5+
6+
@mixin getOverridedSelector {
7+
&#{&} {
8+
@content;
9+
}
10+
}
11+
12+
.foo {
13+
@include getOverridedSelector {
14+
@extend %color;
15+
}
16+
}
17+
18+
.bar {
19+
@include getOverridedSelector {
20+
color: red;
21+
}
22+
}
23+
24+
<===> output.css
25+
.foo.foo {
26+
color: blue;
27+
}
28+
29+
.bar.bar {
30+
color: red;
31+
}

0 commit comments

Comments
 (0)