Follow changes in WD-motion-1-20170711

See also: http://www.w3.org/TR/2017/WD-motion-1-20170711/
This commit is contained in:
Kyo Nagashima
2017-07-21 22:35:34 +09:00
parent e58e59dd42
commit d51d95c7fe
3 changed files with 12 additions and 10 deletions

View File

@@ -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

View File

@@ -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 {

View File

@@ -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>