Browse files

[gow] (2) Update the rendering section to handle media elements' cont…

…rols='' attribute in a more correct way.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7403

git-svn-id: http://svn.whatwg.org/webapps@3927 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 8f2a183 commit bb6d3052bc7c6f2e66db01d7b8205ae994a03fef @Hixie Hixie committed Sep 21, 2009
Showing with 23 additions and 16 deletions.
  1. +11 −7 index
  2. +12 −9 source
View
18 index
@@ -71227,9 +71227,9 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
<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;
}
@@ -72109,11 +72109,15 @@ fieldset {
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
View
21 source
@@ -84559,9 +84559,9 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
<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 @@ fieldset {
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

0 comments on commit bb6d305

Please sign in to comment.