Skip to content

Commit

Permalink
stylus#2750: add and update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kyohei-23 committed Sep 2, 2023
1 parent 176ce0d commit 2edbfcc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
7 changes: 7 additions & 0 deletions test/cases/selectors.pseudo.css
Expand Up @@ -122,4 +122,11 @@ input:not(:last-child) {
div :not(.icon) {
display: none;
}
}
div {
color: currentColor;
}
div:is(.foo,
.bar) {
color: #f00;
}
19 changes: 13 additions & 6 deletions test/cases/selectors.pseudo.styl
Expand Up @@ -84,12 +84,14 @@ label
span
color #014

:is(header, main, footer) p:hover
color: red;
cursor: pointer;
:where(header, main, footer) p:hover
color: red
cursor: pointer
:is(header, main, footer)
p:hover
color: red;
cursor: pointer;
:where(header, main, footer)
p:hover
color: red
cursor: pointer
a:where(:not(:hover))
text-decoration: none
a:has(> img)
Expand All @@ -103,3 +105,8 @@ input
@media (min-width: 0px)
div :not(.icon)
display: none

div
color currentColor
&:is(.foo, .bar)
color #f00

0 comments on commit 2edbfcc

Please sign in to comment.