W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: CSS2.1 'content', 404 Not Found, and audio files

From: Chris Lilley <chris@w3.org>
Date: Wed, 4 Aug 2004 18:17:07 +0200
Message-ID: <1582025631.20040804181707@w3.org>
To: csant <csant@csant.info>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org

On Wednesday, August 4, 2004, 5:22:25 PM, csant wrote:

c> On Wed, 4 Aug 2004 16:34:04 +0200, Chris Lilley <chris@w3.org> wrote:

>> This is in contrast to the aural media, which is serialized by the
>> speech synthesizer; contrast
>>
>> h2:before { content: url(welcome-fanfare.mid); }
>>
>> h2 {cue-before: url(welcome-fanfare.mid); }
>>
>> In the latter case the fanfare willsound justbefore each h2 is read out.

c> Specifying 'content' :before h2 still is serialized by the speech  
c> synthesizer - it plays the audio file before reading the heading, exactly
c> as the 'cue-before' example does: the latter method additonally allows you
c> to add some aural "padding" around the header by means of the 'pause'
c> property on h2, which comes before the element's contents but after the
c> cue.

I was contrasting the :before in a visual medium with the cue-before in
an aural medium.




-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group
Received on Wednesday, 4 August 2004 12:17:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT