Skip to content

Commit 6f5b176

Browse files
committed
Revert "Remove css3-speech.vim"
This reverts commit 912de28.
1 parent d65cd9c commit 6f5b176

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

after/syntax/css/speech-3.vim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
syn match cssAuralProp contained "\<voice-\(volume\|balance\|rate\|pitch\|range\|stress\|duration\)\>"
2+
syn match cssAuralProp contained "\<rest\(-\(before\|after\)\)\=\>"
3+
syn keyword cssAuralAttr contained young old neutral preserve moderate reduced
4+
syn match cssAuralAttr contained "\<\(literal\|no\)-punctuation\>"
5+
syn match cssAuralAttr contained "\<\(x-\)\=\(weak\|strong\)\>"
6+
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"

test/test.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,33 @@ mask {
851851
display: fit-content(10%);
852852
}
853853

854+
.speech-3 {
855+
voice-volume: auto;
856+
voice-balance: auto;
857+
rest-before: auto;
858+
rest-after: auto;
859+
rest: auto;
860+
voice-rate: auto;
861+
voice-pitch: auto;
862+
voice-range: auto;
863+
voice-stress: auto;
864+
voice-duration: auto;
865+
display: 10dB;
866+
display: literal-punctuation;
867+
display: no-punctuation;
868+
display: x-weak;
869+
display: weak;
870+
display: strong;
871+
display: x-strong;
872+
display: young;
873+
display: old;
874+
display: neutral;
875+
display: preserve;
876+
display: 10st;
877+
display: moderate;
878+
display: reduced;
879+
}
880+
854881
.style-attr {
855882
display: auto;
856883
}

0 commit comments

Comments
 (0)