22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Value: | | inherit<br />

Initial: depends on user agent<br />

Applies to: all elements<br />

Inherited: no<br />

Percentages: see prose<br />

Media: aural<br />

’pause-after’<br />

Value: | | inherit<br />

Initial: depends on user agent<br />

Applies to: all elements<br />

Inherited: no<br />

Percentages: see prose<br />

Media: aural<br />

These properties specify a pause to be observed before (or after) speaking an<br />

element’s content. Values have the following meanings:<br />

<br />

Expresses the pause in absolute time units (seconds and milliseconds).<br />

<br />

Refers to the inverse of the value of the ’speech-rate’ property. For example,<br />

if the speech-rate is 120 words per minute (i.e., a word takes half a second,<br />

or 500ms) then a ’pause-before’ of 100% means a pause of 500 ms and a<br />

’pause-before’ of 20% means 100ms.<br />

The pause is inserted between the element’s content and any ’cue-before’ or<br />

’cue-after’ content.<br />

Authors should use relative units to create more robust style sheets in the face<br />

of large changes in speech-rate.<br />

’pause’<br />

Value: [ [ | ]{1,2} ] | inherit<br />

Initial: depends on user agent<br />

Applies to: all elements<br />

Inherited: no<br />

Percentages: see descriptions of ’pause-before’ and ’pause-after’<br />

Media: aural<br />

The ’pause’ property is a shorthand for setting ’pause-before’ and ’pause-after’.<br />

If two values are given, the first value is ’pause-before’ and the second is<br />

’pause-after’. If only one value is given, it applies to both properties.<br />

Example(s):<br />

H1 { pause: 20ms } /* pause-before: 20ms; pause-after: 20ms */<br />

H2 { pause: 30ms 40ms } /* pause-before: 30ms; pause-after: 40ms */<br />

H3 { pause-after: 10ms } /* pause-before: ?; pause-after: 10ms */<br />

280

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!