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

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