mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-01-27 03:12:07 +08:00
Add css-will-change-1.vim and test
See Also: http://www.w3.org/TR/2014/WD-css-will-change-1-20140429/
This commit is contained in:
3
after/syntax/css/css-will-change-1.vim
Normal file
3
after/syntax/css/css-will-change-1.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
" TODO: create cssWillChangeProp group and cssWillChangeAttr group
|
||||||
|
syn match cssFontProp contained "\<will-change\>"
|
||||||
|
syn match cssFontAttr contained "\<scroll-position\>"
|
||||||
@@ -43,5 +43,6 @@ syn include @htmlCss syntax/css/css-shapes-1.vim
|
|||||||
syn include @htmlCss syntax/css/css-text-3.vim
|
syn include @htmlCss syntax/css/css-text-3.vim
|
||||||
syn include @htmlCss syntax/css/css-text-decor-3.vim
|
syn include @htmlCss syntax/css/css-text-decor-3.vim
|
||||||
syn include @htmlCss syntax/css/css-variables.vim
|
syn include @htmlCss syntax/css/css-variables.vim
|
||||||
|
syn include @htmlCss syntax/css/css-will-change-1.vim
|
||||||
syn include @htmlCss syntax/css/css-writing-modes-3.vim
|
syn include @htmlCss syntax/css/css-writing-modes-3.vim
|
||||||
syn include @htmlCss syntax/css/selectors4.vim
|
syn include @htmlCss syntax/css/selectors4.vim
|
||||||
|
|||||||
@@ -551,6 +551,10 @@
|
|||||||
var-foo: var(foo);
|
var-foo: var(foo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.will-change {
|
||||||
|
will-change: scroll-position;
|
||||||
|
}
|
||||||
|
|
||||||
.writing-modes {
|
.writing-modes {
|
||||||
text-orientation: before;
|
text-orientation: before;
|
||||||
text-combine-horizontal: after;
|
text-combine-horizontal: after;
|
||||||
|
|||||||
@@ -559,6 +559,10 @@
|
|||||||
var-foo: var(foo);
|
var-foo: var(foo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.will-change {
|
||||||
|
will-change: scroll-position;
|
||||||
|
}
|
||||||
|
|
||||||
.writing-modes {
|
.writing-modes {
|
||||||
text-orientation: before;
|
text-orientation: before;
|
||||||
text-combine-horizontal: after;
|
text-combine-horizontal: after;
|
||||||
|
|||||||
Reference in New Issue
Block a user