Add motion-1.vim

See also: http://www.w3.org/TR/motion-1/
This commit is contained in:
Kyo Nagashima
2016-01-03 19:53:05 +09:00
parent 74fd8ed4d4
commit a63e01af90
4 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
syn match cssFontProp contained "\<motion\(-\(path\|offset\|rotation\)\)\=\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<path\s*(" end=")" oneline keepend

View File

@@ -49,4 +49,5 @@ syn include @htmlCss syntax/css/css-variables.vim
syn include @htmlCss syntax/css/css-will-change-1.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/html5-elements.vim syn include @htmlCss syntax/css/html5-elements.vim
syn include @htmlCss syntax/css/motion-1.vim
syn include @htmlCss syntax/css/selectors4.vim syn include @htmlCss syntax/css/selectors4.vim

View File

@@ -323,6 +323,13 @@
mask-type: auto; mask-type: auto;
} }
.motion-1 {
motion-path: path(M 100 100 L 300 100 L 200 300 z);
motion-offset: auto;
motion-rotation: auto;
motion: auto;
}
.multicol { .multicol {
columns: column; columns: column;
column-count: balance; column-count: balance;

View File

@@ -356,6 +356,14 @@
} }
</style> </style>
<style> <style>
.motion-1 {
motion-path: path(M 100 100 L 300 100 L 200 300 z);
motion-offset: auto;
motion-rotation: auto;
motion: auto;
}
</style>
<style>
.multicol { .multicol {
columns: column; columns: column;
column-count: balance; column-count: balance;