html5/spec spec.html,1.1049,1.1050 video.html,1.871,1.872

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv7758

Modified Files:
	spec.html video.html 
Log Message:
Captions - Stage 21.1: rendering: the beginning. (whatwg r5147)

[updated by splitter]


Index: video.html
===================================================================
RCS file: /sources/public/html5/spec/video.html,v
retrieving revision 1.871
retrieving revision 1.872
diff -u -d -r1.871 -r1.872
--- video.html	2 Jul 2010 23:06:48 -0000	1.871
+++ video.html	9 Jul 2010 19:37:19 -0000	1.872
@@ -433,6 +433,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
@@ -2634,30 +2635,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 &#8212; 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>.</p></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>.</p></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
@@ -2675,68 +2656,6 @@
    not any more frequent than the user agent can comfortably handle
    while decoding the video.</p></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.</p></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.)</p></li>
-
-   <li><p>Let <var title="">affected tracks</var> be a list of <span title="timed track">timed tracks</span>, initially empty.</p></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="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#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.</p></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="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#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.</p></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="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#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="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-cuechange">cuechange</code> at the <code>track</code>
-   element as well.</p></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>.</p></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>).</p></li>
 
   </ol><p>When a <a href="#media-element">media element</a> is <a href="infrastructure.html#remove-an-element-from-a-document" title="remove an
   element from a document">removed from a
@@ -2894,11 +2813,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

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1049
retrieving revision 1.1050
diff -u -d -r1.1049 -r1.1050
--- spec.html	8 Jul 2010 07:07:02 -0000	1.1049
+++ spec.html	9 Jul 2010 19:37:19 -0000	1.1050
@@ -312,7 +312,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>
@@ -333,7 +333,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">author edition</a>.
-This is revision 1.4109.
+This is revision 1.4110.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -418,7 +418,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

Received on Friday, 9 July 2010 19:37:23 UTC