HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3927

File a bug

SVNBugCommentTime (UTC)
39277403[Gecko] [Opera] [Webkit] Update the rendering section to handle media elements' controls='' attribute in a more correct way.2009-09-21 10:22
Index: source
===================================================================
--- source	(revision 3926)
+++ source	(revision 3927)
@@ -84559,9 +84559,9 @@
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
-[hidden], area, audio:not([controls]), base, basefont, command,
-datalist, head, input[type=hidden], link, menu[type=context], meta,
-noembed, noframes, param, rp, script, source, style, title {
+[hidden], area, base, basefont, command, datalist, head,
+input[type=hidden], link, menu[type=context], meta, noembed, noframes,
+param, rp, script, source, style, title {
   display: none;
 }
 
@@ -85576,13 +85576,16 @@
   elements are expected to be treated as ordinary elements in the
   rendering model.</p>
 
-  <p>The <code>audio</code> element, when it has a <code
-  title="attr-media-controls">controls</code> attribute, 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.</p>
+  <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>
 
-  <p>The <code>video</code> element's <code
-  title="attr-media-controls">controls</code> attribute is not
+  <p>Whether a <code>video</code> element is <span title="expose a
+  user interface to the user">exposing a user interface</span> is not
   expected to affect the size of the rendering; controls are expected
   to be overlaid with the page content without causing any layout
   changes, and are expected to disappear when the user does not need

|