mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-10 04:21:50 +08:00
Add css-paint-api-1.vim
See also: https://www.w3.org/TR/css-paint-api-1/
This commit is contained in:
1
after/syntax/css/css-paint-api-1.vim
Normal file
1
after/syntax/css/css-paint-api-1.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn region cssURL contained matchgroup=cssFunctionName start="\<paint\s*(" end=")" oneline keepend
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user