From d51d95c7feb502faa8a071bd49ae4ea7072abce3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 Jul 2017 22:35:34 +0900 Subject: [PATCH] Follow changes in WD-motion-1-20170711 See also: http://www.w3.org/TR/2017/WD-motion-1-20170711/ --- after/syntax/css/motion-1.vim | 4 ++-- test/test.css | 9 +++++---- test/test.html | 9 +++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/after/syntax/css/motion-1.vim b/after/syntax/css/motion-1.vim index 3570e78..e5dc15f 100644 --- a/after/syntax/css/motion-1.vim +++ b/after/syntax/css/motion-1.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\" +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 70b640d..77461c7 100644 --- a/test/test.css +++ b/test/test.css @@ -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 { diff --git a/test/test.html b/test/test.html index 328377c..a89a642 100644 --- a/test/test.html +++ b/test/test.html @@ -534,10 +534,11 @@