Support css3-conditional properly

This commit is contained in:
Kyo Nagashima
2014-06-06 02:10:59 +09:00
parent 324bec05c5
commit cb9f1b3f70
4 changed files with 18 additions and 18 deletions

View File

@@ -1 +1 @@
syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=cssMediaType,cssMediaKeyword nextgroup=cssMediaBlock syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock

View File

@@ -7,7 +7,7 @@ syn include @htmlCss syntax/css/css3-box.vim
syn include @htmlCss syntax/css/css3-break.vim syn include @htmlCss syntax/css/css3-break.vim
syn include @htmlCss syntax/css/css3-cascade.vim syn include @htmlCss syntax/css/css3-cascade.vim
syn include @htmlCss syntax/css/css3-colors.vim syn include @htmlCss syntax/css/css3-colors.vim
" syn include @htmlCss syntax/css/css3-conditional.vim syn include @htmlCss syntax/css/css3-conditional.vim
syn include @htmlCss syntax/css/css3-content.vim syn include @htmlCss syntax/css/css3-content.vim
syn include @htmlCss syntax/css/css3-exclusions.vim syn include @htmlCss syntax/css/css3-exclusions.vim
syn include @htmlCss syntax/css/css3-fonts.vim syn include @htmlCss syntax/css/css3-fonts.vim

View File

@@ -71,6 +71,14 @@
display: currentColor; display: currentColor;
} }
@supports (display: auto) or
(display: auto) not
(display: auto) {
.conditional {
display: auto;
}
}
.compositing { .compositing {
mix-blend-mode: multiply; mix-blend-mode: multiply;
isolation: screen; isolation: screen;
@@ -453,14 +461,6 @@
display: reduced; display: reduced;
} }
@supports (display: auto) or
(display: auto) not
(display: auto) {
.supports {
display: auto;
}
}
.text { .text {
hyphens: manual; hyphens: manual;
line-break: loose; line-break: loose;

View File

@@ -81,6 +81,14 @@
display: currentColor; display: currentColor;
} }
@supports (display: auto) or
(display: auto) not
(display: auto) {
.conditional {
display: auto;
}
}
.compositing { .compositing {
mix-blend-mode: multiply; mix-blend-mode: multiply;
isolation: screen; isolation: screen;
@@ -462,14 +470,6 @@
display: reduced; display: reduced;
} }
@supports (display: auto) or
(display: auto) not
(display: auto) {
.supports {
display: auto;
}
}
.text { .text {
hyphens: manual; hyphens: manual;
line-break: loose; line-break: loose;