Skip to content

Commit

Permalink
[giow] (0) Ensure <video> controls don't overlap captions.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@5190 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 22, 2010
1 parent 9f6e647 commit 0edc475
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 13 deletions.
17 changes: 13 additions & 4 deletions complete.html
Expand Up @@ -28927,10 +28927,14 @@ <h5 id=user-interface><span class=secno>4.8.10.12 </span>User interface</h5>
context menu.</p>

<p>Where possible (specifically, for starting, stopping, pausing,
and unpausing playback, for muting or changing the volume of the
audio, and for seeking), user interface features exposed by the user
agent must be implemented in terms of the DOM API described above,
so that, e.g., all the same events fire.</p>
and unpausing playback, for seeking,
<!--TT-->
for listing, enabling, and disabling timed tracks,
<!--TT-->
and for muting or changing the volume of the audio), user interface
features exposed by the user agent must be implemented in terms of
the DOM API described above, so that, e.g., all the same events
fire.</p>

<p>The <dfn id=dom-media-controls title=dom-media-controls><code>controls</code></dfn>
IDL attribute must <a href=#reflect>reflect</a> the content attribute of the
Expand Down Expand Up @@ -86608,6 +86612,11 @@ <h4 id=embedded-content-2><span class=secno>14.3.1 </span>Embedded content</h4>
on top of their <code><a href=#video>video</a></code> element, as defined by the
relevant rendering rules; for <a href=#websrt>WebSRT</a>, those are the
<a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</a> defined below.</p>

<p>When <a href=#expose-a-user-interface-to-the-user title="expose a user interface to the user">exposing a
user interface</a> for a <code><a href=#video>video</a></code> element, user agents
should attempt to position controls so as to not overlay any active
subtitles or captions.</p>
<!--TT-->

<p class=note>Resizing <code><a href=#video>video</a></code> and <code><a href=#the-canvas-element>canvas</a></code>
Expand Down
19 changes: 14 additions & 5 deletions index
Expand Up @@ -213,7 +213,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 21 July 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 22 July 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -28854,10 +28854,14 @@ interface <dfn id=timedtrackcue>TimedTrackCue</dfn> {
context menu.</p>

<p>Where possible (specifically, for starting, stopping, pausing,
and unpausing playback, for muting or changing the volume of the
audio, and for seeking), user interface features exposed by the user
agent must be implemented in terms of the DOM API described above,
so that, e.g., all the same events fire.</p>
and unpausing playback, for seeking,
<!--TT-->
for listing, enabling, and disabling timed tracks,
<!--TT-->
and for muting or changing the volume of the audio), user interface
features exposed by the user agent must be implemented in terms of
the DOM API described above, so that, e.g., all the same events
fire.</p>

<p>The <dfn id=dom-media-controls title=dom-media-controls><code>controls</code></dfn>
IDL attribute must <a href=#reflect>reflect</a> the content attribute of the
Expand Down Expand Up @@ -79654,6 +79658,11 @@ fieldset {
on top of their <code><a href=#video>video</a></code> element, as defined by the
relevant rendering rules; for <a href=#websrt>WebSRT</a>, those are the
<a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</a> defined below.</p>

<p>When <a href=#expose-a-user-interface-to-the-user title="expose a user interface to the user">exposing a
user interface</a> for a <code><a href=#video>video</a></code> element, user agents
should attempt to position controls so as to not overlay any active
subtitles or captions.</p>
<!--TT-->

<p class=note>Resizing <code><a href=#video>video</a></code> and <code><a href=#the-canvas-element>canvas</a></code>
Expand Down
17 changes: 13 additions & 4 deletions source
Expand Up @@ -31585,10 +31585,14 @@ interface <dfn>TimedTrackCue</dfn> {
context menu.</p>

<p>Where possible (specifically, for starting, stopping, pausing,
and unpausing playback, for muting or changing the volume of the
audio, and for seeking), user interface features exposed by the user
agent must be implemented in terms of the DOM API described above,
so that, e.g., all the same events fire.</p>
and unpausing playback, for seeking,
<!--END w3c-html--><!--TT-->
for listing, enabling, and disabling timed tracks,
<!--START w3c-html--><!--TT-->
and for muting or changing the volume of the audio), user interface
features exposed by the user agent must be implemented in terms of
the DOM API described above, so that, e.g., all the same events
fire.</p>

<p>The <dfn title="dom-media-controls"><code>controls</code></dfn>
IDL attribute must <span>reflect</span> the content attribute of the
Expand Down Expand Up @@ -98802,6 +98806,11 @@ fieldset {
on top of their <code>video</code> element, as defined by the
relevant rendering rules; for <span>WebSRT</span>, those are the
<span>WebSRT cue text rendering rules</span> defined below.</p>

<p>When <span title="expose a user interface to the user">exposing a
user interface</span> for a <code>video</code> element, user agents
should attempt to position controls so as to not overlay any active
subtitles or captions.</p>
<!--START w3c-html--><!--TT-->

<p class="note">Resizing <code>video</code> and <code>canvas</code>
Expand Down

0 comments on commit 0edc475

Please sign in to comment.