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

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 5 Oct 2009 23:33:25 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0910052330230.25383@hixie.dreamhostps.com>
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

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