mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 19:44:45 +08:00
Add css-snappoints-1.vim and tests
This commit is contained in:
2
after/syntax/css/css-snappoints-1.vim
Normal file
2
after/syntax/css/css-snappoints-1.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssFontProp contained "\<scroll-snap-\(type\|points-\(x\|y\)\|destination\|coordinate\)\=\>"
|
||||||
|
syn keyword cssFontAttr contained mandatory proximity
|
||||||
@@ -39,6 +39,7 @@ syn include @htmlCss syntax/css/css-pseudo-4.vim
|
|||||||
syn include @htmlCss syntax/css/css-ruby-1.vim
|
syn include @htmlCss syntax/css/css-ruby-1.vim
|
||||||
syn include @htmlCss syntax/css/css-scoping-1.vim
|
syn include @htmlCss syntax/css/css-scoping-1.vim
|
||||||
syn include @htmlCss syntax/css/css-shapes-1.vim
|
syn include @htmlCss syntax/css/css-shapes-1.vim
|
||||||
|
syn include @htmlCss syntax/css/css-snappoints-1.vim
|
||||||
syn include @htmlCss syntax/css/css-text-3.vim
|
syn include @htmlCss syntax/css/css-text-3.vim
|
||||||
syn include @htmlCss syntax/css/css-text-decor-3.vim
|
syn include @htmlCss syntax/css/css-text-decor-3.vim
|
||||||
syn include @htmlCss syntax/css/css-variables.vim
|
syn include @htmlCss syntax/css/css-variables.vim
|
||||||
|
|||||||
@@ -473,6 +473,14 @@
|
|||||||
display: contain-floats;
|
display: contain-floats;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.snappoints {
|
||||||
|
scroll-snap-type: mandatory;
|
||||||
|
scroll-snap-points-x: proximity;
|
||||||
|
scroll-snap-points-y: auto;
|
||||||
|
scroll-snap-destination: auto;
|
||||||
|
scroll-snap-coordinate: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.speech {
|
.speech {
|
||||||
voice-volume: 10dB;
|
voice-volume: 10dB;
|
||||||
voice-balance: literal-punctuation;
|
voice-balance: literal-punctuation;
|
||||||
|
|||||||
@@ -520,6 +520,15 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
|
.snappoints {
|
||||||
|
scroll-snap-type: mandatory;
|
||||||
|
scroll-snap-points-x: proximity;
|
||||||
|
scroll-snap-points-y: auto;
|
||||||
|
scroll-snap-destination: auto;
|
||||||
|
scroll-snap-coordinate: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.speech {
|
.speech {
|
||||||
voice-volume: 10dB;
|
voice-volume: 10dB;
|
||||||
voice-balance: literal-punctuation;
|
voice-balance: literal-punctuation;
|
||||||
|
|||||||
Reference in New Issue
Block a user