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 match cssFontProp contained "\<offset\(-\(path\|distance\|anchor\|rotate\)\)\=\>"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<path\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend
|
||||||
|
|||||||
@@ -492,10 +492,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.motion-1 {
|
.motion-1 {
|
||||||
motion-path: path(M 100 100 L 300 100 L 200 300 z);
|
offset-path: ray(45deg closest-side);
|
||||||
motion-offset: auto;
|
offset-distance: path(M 100 100 L 300 100 L 200 300 z);
|
||||||
motion-rotation: auto;
|
offset-anchor: auto;
|
||||||
motion: auto;
|
offset-rotate: auto;
|
||||||
|
offset: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.multicol {
|
.multicol {
|
||||||
|
|||||||
@@ -534,10 +534,11 @@
|
|||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.motion-1 {
|
.motion-1 {
|
||||||
motion-path: path(M 100 100 L 300 100 L 200 300 z);
|
offset-path: ray(45deg closest-side);
|
||||||
motion-offset: auto;
|
offset-distance: path(M 100 100 L 300 100 L 200 300 z);
|
||||||
motion-rotation: auto;
|
offset-anchor: auto;
|
||||||
motion: auto;
|
offset-rotate: auto;
|
||||||
|
offset: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
Reference in New Issue
Block a user