Add css-paint-api-1.vim

See also: https://www.w3.org/TR/css-paint-api-1/
This commit is contained in:
Kyo Nagashima
2016-09-30 08:44:22 +09:00
parent 5bad4550a4
commit a552555049
4 changed files with 11 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
syn region cssURL contained matchgroup=cssFunctionName start="\<paint\s*(" end=")" oneline keepend
+1
View File
@@ -20,6 +20,7 @@ syn include @htmlCss syntax/css/css-lists-3.vim
syn include @htmlCss syntax/css/css-masking-1.vim syn include @htmlCss syntax/css/css-masking-1.vim
syn include @htmlCss syntax/css/css-overflow-3.vim syn include @htmlCss syntax/css/css-overflow-3.vim
syn include @htmlCss syntax/css/css-page-floats-3.vim syn include @htmlCss syntax/css/css-page-floats-3.vim
syn include @htmlCss syntax/css/css-paint-api-1.vim
syn include @htmlCss syntax/css/css-position-3.vim syn include @htmlCss syntax/css/css-position-3.vim
syn include @htmlCss syntax/css/css-pseudo-4.vim syn include @htmlCss syntax/css/css-pseudo-4.vim
syn include @htmlCss syntax/css/css-regions-1.vim syn include @htmlCss syntax/css/css-regions-1.vim
+4
View File
@@ -417,6 +417,10 @@
display: snap-inline(2em, near); display: snap-inline(2em, near);
} }
.paint-api-1 {
display: paint(my_logo);
}
.positioning { .positioning {
offset-before: sticky; offset-before: sticky;
offset-end: auto; offset-end: auto;
+5
View File
@@ -461,6 +461,11 @@
} }
</style> </style>
<style> <style>
.paint-api-1 {
display: paint(my_logo);
}
</style>
<style>
.positioning { .positioning {
offset-before: sticky; offset-before: sticky;
offset-end: auto; offset-end: auto;