W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] When to stop <video> elements from playing

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Sun, 21 Oct 2007 15:36:47 +0100
Message-ID: <1192977407.7315.28.camel@galahad>

On Fri, 2007-10-19 at 20:46 -0400, fantasai wrote:
> Robert O'Callahan wrote:
> > 
> > A related question is whether display:none audio and video elements 
> > should produce sound.
> 
> No. "display: none" is defined to affect all media, and that certainly
> should not change for <audio> and <video>.

Well, the current draft for CSS3 Speech Module implies that display:
none; silences elements:

http://www.w3.org/TR/css3-speech/#speak

But the draft text for display itself continues to speak only of layout
boxes:

http://www.w3.org/TR/css3-box/#display

And nowhere does the Basic Box Module draft discuss how such boxes are
relevant to the aural or braille media types. It would be worth
improving the drafts to be clearer on these points.

If display is now to apply to audio, that is a change from the CSS2 era
where the speak property affected spoken presentation and display
seemingly affected only visual presentation:

http://www.w3.org/TR/REC-CSS2/aural.html#speaking-props 

and where the failure of screen-reader/browser setups to vocalize
elements set as a display: none; has popularly been regarded as a bug:

http://css-discuss.incutio.com/?page=ScreenreaderVisibility

--
Benjamin Hawkes-Lewis
Received on Sunday, 21 October 2007 07:36:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC