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:


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


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:


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


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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:58 UTC