Skip to content

Commit

Permalink
fix: issue less#4313 add more tests
Browse files Browse the repository at this point in the history
* Add more tests for fix for issue less#4313.
  • Loading branch information
puckowski committed Feb 1, 2025
1 parent ab0e64f commit 8a71e56
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/test-data/css/_main/selectors.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,12 @@ a:is(.b, :is(.c), :has(div)) {
.multiple-not:not(.multiple-not--a):not(.multiple-not--b):hover {
background-color: yellow;
}
.multiple-not-by-comma3 {
color: #ffdde3;
}
.multiple-not-by-comma3:not(.multiple-not-by-comma3--a, .multiple-not-by-comma3--b):not(.multiple-not-by-comma3--c):hover {
background-color: #ffed54;
}
.multiple-not-by-comma3:is(.multiple-not-by-comma3--g, .multiple-not-by-comma3--h) {
color: #eeff55;
}
12 changes: 12 additions & 0 deletions packages/test-data/less/_main/selectors.less
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,15 @@ a:is(.b, :is(.c), :has(div)) {
background-color: yellow;
}
}

.multiple-not-by-comma3 {
color: #ffdde3;

&:not(&--a, &--b):not(&--c):hover {
background-color: #ffed54;
}

&:is(&--g, &--h) {
color: #eeff55;
}
}

0 comments on commit 8a71e56

Please sign in to comment.