add css3-conditional.vim and test case

This commit is contained in:
Kyo Nagashima
2013-05-26 23:55:48 +09:00
parent 8b5caba234
commit 28e8833535
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
" TODO: create cssSupports group and cssSupportsType group
syn match cssMedia "@supports\>" nextgroup=cssMediaType skipwhite skipnl
syn match cssMediaAnd "or" nextgroup=cssMediaType skipwhite skipnl
syn match cssMediaAnd "not" nextgroup=cssMediaType skipwhite skipnl

View File

@@ -353,6 +353,12 @@
display: auto;
}
@supports (display: auto) or
(display: auto) not
(display: auto) {
display: auto;
}
.text {
hanging-punctuation: loose;
line-break: strict;