mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Follow changes in WD-motion-1-20170711
See also: http://www.w3.org/TR/2017/WD-motion-1-20170711/
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
syn match cssFontProp contained "\<motion\(-\(path\|offset\|rotation\)\)\=\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<path\s*(" end=")" oneline keepend
|
||||
syn match cssFontProp contained "\<offset\(-\(path\|distance\|anchor\|rotate\)\)\=\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -492,10 +492,11 @@
|
||||
}
|
||||
|
||||
.motion-1 {
|
||||
motion-path: path(M 100 100 L 300 100 L 200 300 z);
|
||||
motion-offset: auto;
|
||||
motion-rotation: auto;
|
||||
motion: auto;
|
||||
offset-path: ray(45deg closest-side);
|
||||
offset-distance: path(M 100 100 L 300 100 L 200 300 z);
|
||||
offset-anchor: auto;
|
||||
offset-rotate: auto;
|
||||
offset: auto;
|
||||
}
|
||||
|
||||
.multicol {
|
||||
|
||||
@@ -534,10 +534,11 @@
|
||||
</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;
|
||||
offset-path: ray(45deg closest-side);
|
||||
offset-distance: path(M 100 100 L 300 100 L 200 300 z);
|
||||
offset-anchor: auto;
|
||||
offset-rotate: auto;
|
||||
offset: auto;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user