-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Description
To reproduce:
.x:is(.x.a) {
color: #f00;
}
.x:not(&.b, &.c) {
color: #0f0;
}
.x:is(.x-a) {
color: #f00;
}
.x:not(&-b, &-c) {
color: #0f0;
}Current behavior:
When the nested pseudo with single selector, it works well.
But when multiple, it doesn't parse the parent symbol(&).
Tested with :not(), :is(), :where(), and got the same result.
.x:is(.x.a) {
color: #f00;
}
.x:not(&.b, &.c) {
color: #0f0;
}
.x:is(.x-a) {
color: #f00;
}
.x:not(&-b, &-c) {
color: #0f0;
}Expected behavior:
.x:is(.x.a) {
color: #f00;
}
.x:not(.x.b, .x.c) {
color: #0f0;
}
.x:is(.x-a) {
color: #f00;
}
.x:not(.x-b, .x-c) {
color: #0f0;
}Environment information:
lessversion: 4.4.0
dosubot