Add css-snappoints-1.vim and tests

This commit is contained in:
Kyo Nagashima
2015-03-27 11:39:56 +09:00
parent 2258f16c42
commit 44525a5ec7
4 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
syn match cssFontProp contained "\<scroll-snap-\(type\|points-\(x\|y\)\|destination\|coordinate\)\=\>"
syn keyword cssFontAttr contained mandatory proximity

View File

@@ -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

View File

@@ -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;

View File

@@ -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;