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.

Example(s):<br />

The following two rules are equivalent:<br />

H1 {cue-before: url("pop.au"); cue-after: url("pop.au") }<br />

H1 {cue: url("pop.au") }<br />

If a user agent cannot render an auditory icon (e.g., the user’s environment<br />

does not permit it), we recommend that it produce an alternative cue (e.g.,<br />

popping up a warning, emitting a warning sound, etc.)<br />

Please see the sections on the :before and :after pseudo-elements [p. 153] for<br />

information on other content generation techniques.<br />

19.6 Mixing properties: ’play-during’<br />

’play-during’<br />

Value: mix? repeat? | auto | none | inherit<br />

Initial: auto<br />

Applies to: all elements<br />

Inherited: no<br />

Percentages: N/A<br />

Media: aural<br />

Similar to the ’cue-before’ and ’cue-after’ properties, this property specifies a<br />

sound to be played as a background while an element’s content is spoken.<br />

Values have the following meanings:<br />

<br />

The sound designated by this is played as a background while the<br />

element’s content is spoken.<br />

mix<br />

When present, this keyword means that the sound inherited from the parent<br />

element’s ’play-during’ property continues to play and the sound designated<br />

by the is mixed with it. If ’mix’ is not specified, the element’s background<br />

sound replaces the parent’s.<br />

repeat<br />

When present, this keyword means that the sound will repeat if it is too short<br />

to fill the entire duration of the element. Otherwise, the sound plays once<br />

and then stops. This is similar to the ’background-repeat’ property. If the<br />

sound is too long for the element, it is clipped once the element has been<br />

spoken.<br />

auto<br />

The sound of the parent element continues to play (it is not restarted, which<br />

would have been the case if this property had been inherited).<br />

none<br />

This keyword means that there is silence. The sound of the parent element<br />

(if any) is silent during the current element and continues after the current<br />

element.<br />

282

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

Saved successfully!

Ooh no, something went wrong!