Skip to content

Commit 8a71e56

Browse files
committed
fix: issue less#4313 add more tests
* Add more tests for fix for issue less#4313.
1 parent ab0e64f commit 8a71e56

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

packages/test-data/css/_main/selectors.css

+9
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,12 @@ a:is(.b, :is(.c), :has(div)) {
201201
.multiple-not:not(.multiple-not--a):not(.multiple-not--b):hover {
202202
background-color: yellow;
203203
}
204+
.multiple-not-by-comma3 {
205+
color: #ffdde3;
206+
}
207+
.multiple-not-by-comma3:not(.multiple-not-by-comma3--a, .multiple-not-by-comma3--b):not(.multiple-not-by-comma3--c):hover {
208+
background-color: #ffed54;
209+
}
210+
.multiple-not-by-comma3:is(.multiple-not-by-comma3--g, .multiple-not-by-comma3--h) {
211+
color: #eeff55;
212+
}

packages/test-data/less/_main/selectors.less

+12
Original file line numberDiff line numberDiff line change
@@ -228,3 +228,15 @@ a:is(.b, :is(.c), :has(div)) {
228228
background-color: yellow;
229229
}
230230
}
231+
232+
.multiple-not-by-comma3 {
233+
color: #ffdde3;
234+
235+
&:not(&--a, &--b):not(&--c):hover {
236+
background-color: #ffed54;
237+
}
238+
239+
&:is(&--g, &--h) {
240+
color: #eeff55;
241+
}
242+
}

0 commit comments

Comments
 (0)