diff --git a/after/syntax/css/fill-stroke-3.vim b/after/syntax/css/fill-stroke-3.vim new file mode 100644 index 0000000..d315150 --- /dev/null +++ b/after/syntax/css/fill-stroke-3.vim @@ -0,0 +1,3 @@ +syn match cssFontProp contained "\<\(fill\|stroke\)-\(break\|color\|image\|origin\|position\|size\|repeat\)\>" +syn match cssFontProp contained "\" +syn keyword cssFontAttr contained stupid compress dashes gaps diff --git a/after/syntax/html.vim b/after/syntax/html.vim index 5589f83..5bdebd6 100644 --- a/after/syntax/html.vim +++ b/after/syntax/html.vim @@ -62,6 +62,7 @@ syn include @htmlCss syntax/css/css3-speech.vim syn include @htmlCss syntax/css/css3-transitions.vim syn include @htmlCss syntax/css/cssom-1.vim syn include @htmlCss syntax/css/cssom-view-1.vim +syn include @htmlCss syntax/css/fill-stroke-3.vim syn include @htmlCss syntax/css/filter-effects-1.vim syn include @htmlCss syntax/css/geometry-1.vim syn include @htmlCss syntax/css/html5.vim diff --git a/test/test.css b/test/test.css index a17fd02..e385dca 100644 --- a/test/test.css +++ b/test/test.css @@ -223,6 +223,26 @@ wrap-through: maximum; } +.fill-stroke-3 { + fill-break: stupid; + fill-color: compress; + fill-image: dashes; + fill-origin: gaps; + fill-position: auto; + fill-size: auto; + fill-repeat: auto; + stroke-align: auto; + stroke-break: auto; + stroke-dash-corner: auto; + stroke-dash-justify: auto; + stroke-color: auto; + stroke-image: auto; + stroke-origin: auto; + stroke-position: auto; + stroke-size: auto; + stroke-repeat: auto; +} + .filter-effects-1 { flood-color: sRGB; flood-opacity: linearRGB; diff --git a/test/test.html b/test/test.html index 5e184c6..d6fa25f 100644 --- a/test/test.html +++ b/test/test.html @@ -252,6 +252,27 @@ } +