[whatwg] [html5] r3927 - [gow] (2) Update the rendering section to handle media elements' controls='' att [...]

On Mon, 21 Sep 2009, Simon Pieters wrote:
> > +  <p>The <code>audio</code> element, when it is <span title="expose a
> > +  user interface to the user">exposing a user interface</span>, is
> > +  expected to be treated as a replaced element about one line high, as
> > +  wide as is necessary to expose the user agent's user interface
> > +  features. When an <code>audio</code> element is not <span
> > +  title="expose a user interface to the user">exposing a user
> > +  interface</span>, it is expected to render as an empty element.</p>
> 
> Why did you change from display:none to an empty element?

So that rendering was defined if its 'display' property was changed.


> Browsers have already implemented it as display:none, and I think it's a 
> nicer behavior for authors who want to style audio elements that expose 
> controls (e.g. giving a border) without affecting audio elements without 
> controls.
> 
> I suggest forcing display:none, like with <noscript>.

Fair enough. Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 5 October 2009 16:33:25 UTC