From 6f5b17688c0ad4c2ac6151fbce33d44f28afaf1c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 10 Mar 2020 20:44:10 +0900 Subject: [PATCH] Revert "Remove css3-speech.vim" This reverts commit 912de28994bc408ae018ae3de70f1db372786543. --- after/syntax/css/speech-3.vim | 6 ++++++ test/test.css | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 after/syntax/css/speech-3.vim diff --git a/after/syntax/css/speech-3.vim b/after/syntax/css/speech-3.vim new file mode 100644 index 0000000..0de3014 --- /dev/null +++ b/after/syntax/css/speech-3.vim @@ -0,0 +1,6 @@ +syn match cssAuralProp contained "\" +syn match cssAuralProp contained "\" +syn keyword cssAuralAttr contained young old neutral preserve moderate reduced +syn match cssAuralAttr contained "\<\(literal\|no\)-punctuation\>" +syn match cssAuralAttr contained "\<\(x-\)\=\(weak\|strong\)\>" +syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)" diff --git a/test/test.css b/test/test.css index c243872..0a0d63b 100644 --- a/test/test.css +++ b/test/test.css @@ -851,6 +851,33 @@ mask { display: fit-content(10%); } +.speech-3 { + voice-volume: auto; + voice-balance: auto; + rest-before: auto; + rest-after: auto; + rest: auto; + voice-rate: auto; + voice-pitch: auto; + voice-range: auto; + voice-stress: auto; + voice-duration: auto; + display: 10dB; + display: literal-punctuation; + display: no-punctuation; + display: x-weak; + display: weak; + display: strong; + display: x-strong; + display: young; + display: old; + display: neutral; + display: preserve; + display: 10st; + display: moderate; + display: reduced; +} + .style-attr { display: auto; }