mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 19:24:25 +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-scoping-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-decor-3.vim
|
||||
syn include @htmlCss syntax/css/css-variables.vim
|
||||
|
||||
@@ -473,6 +473,14 @@
|
||||
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 {
|
||||
voice-volume: 10dB;
|
||||
voice-balance: literal-punctuation;
|
||||
|
||||
@@ -520,6 +520,15 @@
|
||||
}
|
||||
</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 {
|
||||
voice-volume: 10dB;
|
||||
voice-balance: literal-punctuation;
|
||||
|
||||
Reference in New Issue
Block a user