style.pause (Property)

Part of the aural style control suite that defines a momentary pause before or after an item is spoken.

Availability:

CSS level - 2
DOM level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.pause
CSS syntax:pause: aTime
Argument list:aTimeA pause duration between speeches

This is a shortcut property for defining the pauseBefore and pauseAfter values in a single assignment. The two values should be space separated. If you only specify one, it will be assigned to both properties. If you specify two values, the first is used as pauseBefore and the second as pauseAfter.

The values are specified as time units. These are a floating point value with either the ms or s suffix to denote the unit of measure.

You can specify a percentage value which is used to calculate a proportion of the time taken to speak a single word at the words-per-minute rate defined in the speechRate property.

Warnings:

See also:Aural style sheets, Measurement units, style.pauseAfter, style.pauseBefore, style.speechRate