hixie: Update the rendering section to handle media elements' controls='' attribute in a more correct way. (whatwg r3927)

hixie: Update the rendering section to handle media elements'
controls='' attribute in a more correct way. (whatwg r3927)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3088&r2=1.3089&f=h
http://html5.org/tools/web-apps-tracker?from=3926&to=3927

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3088
retrieving revision 1.3089
diff -u -d -r1.3088 -r1.3089
--- Overview.html 21 Sep 2009 09:59:01 -0000 1.3088
+++ Overview.html 21 Sep 2009 10:15:19 -0000 1.3089
@@ -64881,9 +64881,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;
 }
 
@@ -65739,11 +65739,15 @@
   elements are expected to be treated as ordinary elements in the
   rendering model.</p>
 
-  <p>The <code><a href="#audio">audio</a></code> element, when it has a <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></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><a href="#audio">audio</a></code> element, when it is <a href="#expose-a-user-interface-to-the-user" title="expose a
+  user interface to the user">exposing a user interface</a>, 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><a href="#audio">audio</a></code> element is not <a href="#expose-a-user-interface-to-the-user" title="expose a user interface to the user">exposing a user
+  interface</a>, it is expected to render as an empty element.</p>
 
-  <p>The <code><a href="#video">video</a></code> element's <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code> attribute is not
+  <p>Whether a <code><a href="#video">video</a></code> element is <a href="#expose-a-user-interface-to-the-user" title="expose a
+  user interface to the user">exposing a user interface</a> 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

Received on Monday, 21 September 2009 10:16:14 UTC