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

Benjamin Hawkes-Lewis bhawkeslewis at googlemail.com
Sun Oct 21 07:36:47 PDT 2007


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




More information about the whatwg mailing list