Definition and Usage
The 'rest-before' and 'rest-after' properties specify a prosodic boundary (silence with a specific duration) that occurs before (or after) the speech synthesis rendition of an element within the aural box model.
Name: | rest-before |
Value: | <time> | none | x-weak | weak | medium | strong | x-strong |
Initial: | none |
Applies to: | all elements |
Inherited: | no |
Percentages: | N/A |
Media: | speech |
Computed value: | specified value |
Syntax
rest-before : <time> | none | x-weak | weak | medium | strong | x-strong;
Values
- <time>
Expresses the rest in absolute time units (seconds and milliseconds, e.g. "+3s", "250ms"). Only non-negative values are allowed.
- none
Equivalent to 0ms (no prosodic break is produced by the speech processor).
- x-weak, weak, medium, strong, and x-strong
Expresses the rest by the strength of the prosodic break in speech output. The exact time is implementation-dependent. The values indicate monotonically non-decreasing (conceptually increasing) break strength between elements.
Examples
.class { rest-before: weak ; }