- From: poot <cvsmail@w3.org>
- Date: Sat, 10 Jul 2010 04:31:14 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Captions - Stage 21.1: rendering: the beginning. (whatwg r5147) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4109&r2=1.4110&f=h http://html5.org/tools/web-apps-tracker?from=5146&to=5147 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4109 retrieving revision 1.4110 diff -u -d -r1.4109 -r1.4110 --- Overview.html 8 Jul 2010 06:56:39 -0000 1.4109 +++ Overview.html 9 Jul 2010 19:30:04 -0000 1.4110 @@ -308,7 +308,7 @@ <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id="editor-s-draft-8-july-2010">Editor's Draft 8 July 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-9-july-2010">Editor's Draft 9 July 2010</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -414,7 +414,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 8 July 2010 Editor's Draft. + This specification is the 9 July 2010 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 @@ -19914,6 +19914,7 @@ particular playback position is defined by the video stream's format.</p> + <p>In addition to the above, the user agent may provide messages to the user (such as "buffering", "no video loaded", "error", or more detailed information) by overlaying text or icons on the video or @@ -22115,30 +22116,10 @@ agent must run the following steps. If the <a href="#current-playback-position">current playback position</a> changes while the steps are running, then the user agent must wait for the steps to complete, and then must immediately - rerun the steps. (These steps are thus run as often as possible or - needed — if one iteration takes a long time, this can cause - certain <span title="timed track cue">cues</span> to be skipped over - as the user agent rushes ahead to "catch up".)</p> - - <ol><li><p>Let <var title="">current cues</var> be an ordered list of - <span title="timed track cue">cues</span>, initialized to contain - all the <span title="timed track cue">cues</span> of all the <span title="timed track hidden">hidden</span> or <span title="timed - track showing">showing</span> <span title="timed track">timed - tracks</span> of the <a href="#media-element">media element</a> (not not the <span title="timed track disabled">disabled</span> ones) whose <span title="timed track cue start time">start times</span> are less than - or equal to the <a href="#current-playback-position">current playback position</a> and whose - <span title="timed track cue end time">end times</span> are greater - than the <a href="#current-playback-position">current playback position</a>, in <span>timed - track cue order</span>.</li> - - <li><p>Let <var title="">other cues</var> be an ordered list of - <span title="timed track cue">cues</span>, initialized to contain - all the <span title="timed track cue">cues</span> of <span title="timed track hidden">hidden</span> and <span title="timed - track showing">showing</span> <span title="timed track">timed - tracks</span> of the <a href="#media-element">media element</a> that are not - present in <var title="">current cues</var>, also in <span>timed - track cue order</span>.</li> + rerun the steps. + </p> - <li><p>If the time was reached through the usual monotonic increase + <ol><li><p>If the time was reached through the usual monotonic increase of the current playback position during normal playback, and if the user agent has not fired a <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> event at the element in the past 15 to 250ms and is not still running event @@ -22156,68 +22137,6 @@ not any more frequent than the user agent can comfortably handle while decoding the video.</li> - <li><p>If all of the <span title="timed track cue">cues</span> in - <var title="">current cues</var> have their <span>timed track cue - active flag</span> set, and none of the <span title="timed track - cue">cues</span> in <var title="">other cues</var> have their - <span>timed track cue active flag</span> set, then abort these - steps.</li> - - <li><p>If the time was reached through the usual monotonic increase - of the current playback position during normal playback, and there - are <span title="timed track cue">cues</span> in <var title="">other cues</var> that have both their <span>timed track - cue active flag</span> set and their <span>timed track cue - pause-on-exit flag</span> set, then immediately act as if the - element's <code title="dom-media-pause"><a href="#dom-media-pause">pause()</a></code> method had - been invoked. <!-- pause() can in theory call load(), but never can - it do so as part of this invokation, since we wouldn't be in this - algorithm if the media element was empty. So, no need to couch all - this in a task. --> (In the other cases, such as explicit seeks, - playback is not paused by going past the end time of a <span title="timed track cue">cue</span>, even if that <span title="timed - track cue">cue</span> has its <span>timed track cue pause-on-exit - flag</span> set.)</li> - - <li><p>Let <var title="">affected tracks</var> be a list of <span title="timed track">timed tracks</span>, initially empty.</li> - - <li><p>For each <span title="timed track cue">timed track - cue</span> in <var title="">other cues</var> that has its - <span>timed track cue active flag</span> set, in list order, - <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named - <code title="event-exit">exit</code> at the - <code>TimedTrackCue</code> object, and add the <span title="timed - track cue">cue</span>'s <span>timed track</span> to <var title="">affected tracks</var>, if it's not already in the - list.</li> - - <li><p>For each <span title="timed track cue">timed track - cue</span> in <var title="">current cues</var> that does not have - its <span>timed track cue active flag</span> set, in list order, - <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named - <code title="event-enter">enter</code> at the - <code>TimedTrackCue</code> object, and add the <span title="timed - track cue">cue</span>'s <span>timed track</span> to <var title="">affected tracks</var>, if it's not already in the - list.</li> - - <li><p>For each <span>timed track</span> in <var title="">affected - tracks</var>, in the order they were added to the list (which will - match the relative order of the <span title="timed track">timed - tracks</span> in the <a href="#media-element">media element</a>'s <span>list of - timed tracks</span>), <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a - simple event</a> named <code title="event-cuechange">cuechange</code> at the - <code>TimedTrack</code> object, and, if the <span>timed - track</span> has a corresponding <code>track</code> element, to - then <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-cuechange">cuechange</code> at the <code>track</code> - element as well.</li> - - <li><p>Set the <span>timed track cue active flag</span> of all the - <span title="timed track cue">cues</span> in the <var title="">current cues</var>, and unset the <span>timed track cue - active flag</span> of all the <span title="timed track - cue">cues</span> in the <var title="">other cues</var>.</li> - - <li><p>Run the rules for rendering the cues of each of the <span title="timed track">timed tracks</span> in <var title="">affected - tracks</var> that are <span title="timed track - showing">showing</span> (e.g., for <span title="timed track">timed - tracks</span> based on <span>WebSRT</span>, the <span>rules for - updating the display of WebSRT timed tracks</span>).</li> </ol><p>When a <a href="#media-element">media element</a> is <a href="#remove-an-element-from-a-document" title="remove an element from a document">removed from a @@ -22375,11 +22294,7 @@ user interface to the user</dfn>. This user interface should include features to begin playback, pause playback, seek to an arbitrary position in the content (if the content supports arbitrary seeking), - change the volume, change the display of closed captions - - <!-- XXX update this to mention timed tracks --> - - or embedded + change the volume, change the display of closed captions or embedded sign-language tracks, select different audio tracks or turn on audio descriptions, and show the media content in manners more suitable to the user (e.g. full-screen video or in an independent resizable
Received on Friday, 9 July 2010 19:30:53 UTC