Skip to content

Commit 9d7741a

Browse files
committed
1 parent 479dc52 commit 9d7741a

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

after/syntax/css/conditional-5.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

test/test.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,19 @@
141141
}
142142

143143
@supports (selector(.conditional-4)) {
144-
display: auto;
144+
.conditional-4 {
145+
display: auto;
146+
}
147+
}
148+
149+
@when media(screen) {
150+
.conditional-5 {
151+
display: auto;
152+
}
153+
} @else {
154+
.conditional-5 {
155+
display: auto;
156+
}
145157
}
146158

147159
.contain-1 {

0 commit comments

Comments
 (0)