Skip to content

Commit f54d7a6

Browse files
committed
Activate specs for issue 1797
This PR activates specs for sass/libsass#1797
1 parent 6799b7a commit f54d7a6

File tree

5 files changed

+58
-0
lines changed

5 files changed

+58
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.not { color: red; }
2+
3+
div:has(.not) { color: black; }
4+
5+
bar span:not(.not) { color: black; }
6+
span:not(bar.foo) { color: black; }
7+
span:not(bar.not) { color: black; }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.not{color:red}div:has(.not){color:black}bar span:not(.not){color:black}span:not(bar.foo){color:black}span:not(bar.not){color:black}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.not {
2+
color: red;
3+
}
4+
5+
div:has(.not) {
6+
color: black;
7+
}
8+
9+
bar span:not(.not) {
10+
color: black;
11+
}
12+
span:not(bar.foo) {
13+
color: black;
14+
}
15+
span:not(bar.not) {
16+
color: black;
17+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.not {
2+
color: red; }
3+
4+
div:has(.not) {
5+
color: black; }
6+
7+
bar span:not(.not) {
8+
color: black; }
9+
span:not(bar.foo) {
10+
color: black; }
11+
span:not(bar.not) {
12+
color: black; }
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
%not {
2+
color: red;
3+
}
4+
.not {
5+
@extend %not;
6+
}
7+
div:has(%not) {
8+
color: black;
9+
}
10+
11+
bar {
12+
span:not(%not) {
13+
color: black;
14+
}
15+
span:not(&.foo) {
16+
color: black;
17+
}
18+
span:not(&%not) {
19+
color: black;
20+
}
21+
}

0 commit comments

Comments
 (0)