W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Visual effects

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Thu, 27 Jan 2000 05:20:55 -0800 (PST)
Message-ID: <20000127132055.8195.qmail@web904.mail.yahoo.com>
To: www-style@w3.org
--- Tim Bannister <isoma@compsoc.man.ac.uk> wrote:
> Does visibility make sense in an Aural style sheet (ie, would the
> play-during sounds be audible during a pause equivalent to how long it
> would take to play the element)?
No. The spec says 'applies to: visual'. This is contrast to display: none,
which affects all media.

Incidentally, I find speak: none better than display: none because
display: none suppresses the box including descendants, whereas with
speak: none one can do:

TABLE.navigation {speak: none}
TABLE#sections {speak: none}
TABLE.navigation:before {speak: normal;
content: url(aural1.html)}
TABLE#sections:before {speak: normal;
content: url(aural2.html)}

This is a real example from a site I am working on - the navigation tables
aren't terribly good for aural rendering, so this is a much better
solution. However, I am somewhat reluctant to do it because while I am
more or less assured of speak support, generated content might not be

It is interesting that one cannot simulate this content replacement for
other media (I did toy with changing display: none to not affect :before
and :after, but I wasn't wholly convinced).

From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
Received on Thursday, 27 January 2000 08:20:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:52 UTC