[html5] r5139 - [giow] (0) Captions - Stage 20.2b: fix markup error (oops)

whatwg at whatwg.org whatwg at whatwg.org
Thu Jul 8 10:57:24 PDT 2010


Author: ianh
Date: 2010-07-08 10:57:23 -0700 (Thu, 08 Jul 2010)
New Revision: 5139

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Captions - Stage 20.2b: fix markup error (oops)

Modified: complete.html
===================================================================
--- complete.html	2010-07-08 17:49:49 UTC (rev 5138)
+++ complete.html	2010-07-08 17:57:23 UTC (rev 5139)
@@ -26745,13 +26745,13 @@
   readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-onload title=handler-TimedTrack-onload>onload</a>;
   readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-onerror title=handler-TimedTrack-onerror>onerror</a>;
 
-  const unsigned short <span title=dom-TimedTrack-OFF>OFF</span> = 0;
-  const unsigned short <span title=dom-TimedTrack-HIDDEN>HIDDEN</span> = 1;
-  const unsigned short <span title=dom-TimedTrack-SHOWING>SHOWING</span> = 2;
-           attribute unsigned short <span title=dom-TimedTrack-mode>mode</span>;
+  const unsigned short <a href=#dom-timedtrack-off title=dom-TimedTrack-OFF>OFF</a> = 0;
+  const unsigned short <a href=#dom-timedtrack-hidden title=dom-TimedTrack-HIDDEN>HIDDEN</a> = 1;
+  const unsigned short <a href=#dom-timedtrack-showing title=dom-TimedTrack-SHOWING>SHOWING</a> = 2;
+           attribute unsigned short <a href=#dom-timedtrack-mode title=dom-TimedTrack-mode>mode</a>;
 
-  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <span title=dom-TimedTrack-cues>cues</span>;
-  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <span title=dom-TimedTrack-activeCues>activeCues</span>;
+  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <a href=#dom-timedtrack-cues title=dom-TimedTrack-cues>cues</a>;
+  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <a href=#dom-timedtrack-activecues title=dom-TimedTrack-activeCues>activeCues</a>;
 
   readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-oncuechange title=handler-TimedTrack-oncuechange>oncuechange</a>;
 };</pre>
@@ -26793,31 +26793,31 @@
      </dd>
     </dl></dd>
 
-   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-mode>mode</code></dt>
+   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-mode><a href=#dom-timedtrack-mode>mode</a></code></dt>
    <dd>
     <p>Returns the <a href=#timed-track-mode>timed track mode</a>, represented by a
     number from the following list:</p>
-    <dl><dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-OFF>OFF</code> (0)</dt>
+    <dl><dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-OFF><a href=#dom-timedtrack-off>OFF</a></code> (0)</dt>
      <dd>
       <p>The <a href=#timed-track-disabled>timed track disabled</a> mode.</p>
      </dd>
-     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-HIDDEN>HIDDEN</code> (0)</dt>
+     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-HIDDEN><a href=#dom-timedtrack-hidden>HIDDEN</a></code> (0)</dt>
      <dd>
       <p>The <a href=#timed-track-hidden>timed track hidden</a> mode.</p>
      </dd>
-     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-SHOWING>SHOWING</code> (0)</dt>
+     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-SHOWING><a href=#dom-timedtrack-showing>SHOWING</a></code> (0)</dt>
      <dd>
       <p>The <a href=#timed-track-showing>timed track showing</a> mode.</p>
      </dd>
     </dl><p>Can be set, to change the mode.</p>
    </dd>
 
-   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-cues>cues</code></dt>
+   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-cues><a href=#dom-timedtrack-cues>cues</a></code></dt>
    <dd>
     <p>Returns the <a href=#timed-track-list-of-cues>timed track list of cues</a>, as a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object.</p>
    </dd>
 
-   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-activeCues>activeCues</code></dt>
+   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-activeCues><a href=#dom-timedtrack-activecues>activeCues</a></code></dt>
    <dd>
     <p>Returns the <a href=#timed-track-cue title="timed track cue">timed track cues</a> from the <a href=#timed-track-list-of-cues>timed track list of cues</a> that are currently active (i.e. that start before the <a href=#current-playback-position>current playback position</a> and end after it), as a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object.</p>
    </dd>
@@ -26840,10 +26840,10 @@
   represents.</p>
 
   <p>The <dfn id=dom-timedtrack-readystate title=dom-TimedTrack-readyState><code>readyState</code></dfn>
-  attribute must return the code corresponding to the <a href=#timed-track-readiness-state>timed
-  track readiness state</a> of the <a href=#timed-track>timed track</a> that
-  the <code><a href=#timedtrack>TimedTrack</a></code> object represents, as defined by the
-  following list:</p>
+  attribute must return the numeric value corresponding to the
+  <a href=#timed-track-readiness-state>timed track readiness state</a> of the <a href=#timed-track>timed
+  track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object represents, as
+  defined by the following list:</p>
 
   <dl><dt><dfn id=dom-timedtrack-none title=dom-TimedTrack-NONE><code>NONE</code></dfn> (numeric value 0)</dt>
    <dd>The <a href=#timed-track-not-loaded>timed track not loaded</a> state.</dd>
@@ -26853,32 +26853,67 @@
    <dd>The <a href=#timed-track-loaded>timed track loaded</a> state.</dd>
    <dt><dfn id=dom-timedtrack-error title=dom-TimedTrack-ERROR><code>ERROR</code></dfn> (numeric value 3)</dt>
    <dd>The <a href=#timed-track-failed-to-load>timed track failed to load</a> state.</dd>
-  </dl><!-- XXX
+  </dl><p>The <dfn id=dom-timedtrack-mode title=dom-TimedTrack-mode><code>mode</code></dfn>
+  attribute, on getting, must return the numeric value corresponding
+  to the <a href=#timed-track-mode>timed track mode</a> of the <a href=#timed-track>timed track</a>
+  that the <code><a href=#timedtrack>TimedTrack</a></code> object represents, as defined by
+  the following list:</p>
 
-  const unsigned short <dfn title="dom-TimedTrack-OFF"><code>OFF</code></dfn> = 0
-  const unsigned short <dfn title="dom-TimedTrack-HIDDEN"><code>HIDDEN</code></dfn> = 1
-  const unsigned short <dfn title="dom-TimedTrack-SHOWING"><code>SHOWING</code></dfn> = 2
-           attribute unsigned short <dfn title="dom-TimedTrack-mode"><code>mode</code></dfn>
+  <dl><dt><dfn id=dom-timedtrack-off title=dom-TimedTrack-OFF><code>OFF</code></dfn> (numeric value 0)</dt>
+   <dd>The <a href=#timed-track-disabled>timed track disabled</a> mode.</dd>
+   <dt><dfn id=dom-timedtrack-hidden title=dom-TimedTrack-HIDDEN><code>HIDDEN</code></dfn> (numeric value 1)</dt>
+   <dd>The <a href=#timed-track-hidden>timed track hidden</a> mode.</dd>
+   <dt><dfn id=dom-timedtrack-showing title=dom-TimedTrack-SHOWING><code>SHOWING</code></dfn> (numeric value 2)</dt>
+   <dd>The <a href=#timed-track-showing>timed track showing</a> mode.</dd>
+  </dl><p class=XXX>On setting, ...</p>
 
-  readonly attribute <span>TimedTrackCueList</span> <dfn title="dom-TimedTrack-cues"><code>cues</code></dfn>
-  readonly attribute <span>TimedTrackCueList</span> <dfn title="dom-TimedTrack-activeCues"><code>activeCues</code></dfn>
-
-   Make sure that .cues and .activeCues doesn't change while script is
-   running, except for addCue/removeCue and the removal of all cues in
-   the face of a dynamic track.src change.
-
-  <p>User agents must not expose cues whose start and end times are
-  entirely prior to the <span>media resource</span>'s <span>earliest
-  possible position</span>.</p>
-
+<!-- XXX
   changing dom-TimedTrack-mode to disabled/hidden should hide all the
   titles, changing it to showing should show them. (Only 'showing'
   tracks get updated automatically.)
+-->
 
+  <p>If the <a href=#timed-track-mode>timed track mode</a> of the <a href=#timed-track>timed
+  track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object represents is
+  not the <a href=#timed-track-disabled>timed track disabled</a> mode, then the <dfn id=dom-timedtrack-cues title=dom-TimedTrack-cues><code>cues</code></dfn> attribute must
+  return a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object that represents the
+  subset of the <a href=#timed-track-list-of-cues>timed track list of cues</a> of the
+  <a href=#timed-track>timed track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object
+  represents whose <a href=#timed-track-cue-start-time title="timed track cue start time">start
+  times</a> occur before the <span>earliest possible position when
+  the script started</span>, in <a href=#timed-track-cue-order>timed track cue
+  order</a>. Otherwise, it must return null. When an object is
+  returned, the same object must be returned each time.</p>
+
+  <p>The <dfn id=earliest-possibly-position-when-the-script-started>earliest possibly position when the script started</dfn>
+  is whatever the <span>earliest possibly position</span> was the last
+  time the <a href=#event-loop>event loop</a> reached step 1.</p>
+
+  <p>If the <a href=#timed-track-mode>timed track mode</a> of the <a href=#timed-track>timed
+  track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object represents is
+  not the <a href=#timed-track-disabled>timed track disabled</a> mode, then the <dfn id=dom-timedtrack-activecues title=dom-TimedTrack-activeCues><code>activeCues</code></dfn>
+  attribute must return a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object that
+  represents the subset of the <a href=#timed-track-list-of-cues>timed track list of cues</a>
+  of the <a href=#timed-track>timed track</a> that the <code><a href=#timedtrack>TimedTrack</a></code>
+  object represents whose <a href=#timed-track-cue-start-time title="timed track cue start
+  time">start times</a> occur before the <a href=#current-playback-position-when-the-script-started>current playback
+  position when the script started</a> and whose <a href=#timed-track-cue-end-time title="timed
+  track cue end time">end times</a> occur after the <a href=#current-playback-position-when-the-script-started>current
+  playback position when the script started</a>, in <a href=#timed-track-cue-order>timed
+  track cue order</a>. Otherwise, it must return null. When an
+  object is returned, the same object must be returned each time.</p>
+
+  <p>The <dfn id=current-playback-position-when-the-script-started>current playback position when the script started</dfn>
+  is whatever the <a href=#current-playback-position>current playback position</a> was the last
+  time the <a href=#event-loop>event loop</a> reached step 1.</p>
+
+<!-- XXX
  - <span>MutableTimedTrack</span> <span title="dom-media-addTrack">addTrack</span>(in DOMString label, in DOMString kind, in DOMString language);
    - addTrack should add it as Loaded, Disabled, and with the rules for WebSRT.
---></div>
+-->
 
+  </div>
+
   <hr><pre class=idl>interface <dfn id=mutabletimedtrack>MutableTimedTrack</dfn> : <a href=#timedtrack>TimedTrack</a> {
  void <span title=dom-MutableTimedTrack-addCue>addCue</span>(in <a href=#timedtrackcue>TimedTrackCue</a> cue);
  void <span title=dom-MutableTimedTrack-removeCue>removeCue</span>(in <a href=#timedtrackcue>TimedTrackCue</a> cue);
@@ -26905,6 +26940,13 @@
 
   <p class=XXX>...</p>
 
+<!-- XXX
+   Make sure that <code>TimedTrackCueList</code>s don't change while
+   script is running, except for addCue/removeCue and the removal of
+   all cues in the face of a dynamic track.src change.
+   (right now only in-band cues can change this, I think)
+-->
+
   </div>
 
   <hr><pre class=idl>interface <dfn id=timedtrackcuelist>TimedTrackCueList</dfn> {

Modified: index
===================================================================
--- index	2010-07-08 17:49:49 UTC (rev 5138)
+++ index	2010-07-08 17:57:23 UTC (rev 5139)
@@ -26672,13 +26672,13 @@
   readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-onload title=handler-TimedTrack-onload>onload</a>;
   readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-onerror title=handler-TimedTrack-onerror>onerror</a>;
 
-  const unsigned short <span title=dom-TimedTrack-OFF>OFF</span> = 0;
-  const unsigned short <span title=dom-TimedTrack-HIDDEN>HIDDEN</span> = 1;
-  const unsigned short <span title=dom-TimedTrack-SHOWING>SHOWING</span> = 2;
-           attribute unsigned short <span title=dom-TimedTrack-mode>mode</span>;
+  const unsigned short <a href=#dom-timedtrack-off title=dom-TimedTrack-OFF>OFF</a> = 0;
+  const unsigned short <a href=#dom-timedtrack-hidden title=dom-TimedTrack-HIDDEN>HIDDEN</a> = 1;
+  const unsigned short <a href=#dom-timedtrack-showing title=dom-TimedTrack-SHOWING>SHOWING</a> = 2;
+           attribute unsigned short <a href=#dom-timedtrack-mode title=dom-TimedTrack-mode>mode</a>;
 
-  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <span title=dom-TimedTrack-cues>cues</span>;
-  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <span title=dom-TimedTrack-activeCues>activeCues</span>;
+  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <a href=#dom-timedtrack-cues title=dom-TimedTrack-cues>cues</a>;
+  readonly attribute <a href=#timedtrackcuelist>TimedTrackCueList</a> <a href=#dom-timedtrack-activecues title=dom-TimedTrack-activeCues>activeCues</a>;
 
   readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-oncuechange title=handler-TimedTrack-oncuechange>oncuechange</a>;
 };</pre>
@@ -26720,31 +26720,31 @@
      </dd>
     </dl></dd>
 
-   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-mode>mode</code></dt>
+   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-mode><a href=#dom-timedtrack-mode>mode</a></code></dt>
    <dd>
     <p>Returns the <a href=#timed-track-mode>timed track mode</a>, represented by a
     number from the following list:</p>
-    <dl><dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-OFF>OFF</code> (0)</dt>
+    <dl><dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-OFF><a href=#dom-timedtrack-off>OFF</a></code> (0)</dt>
      <dd>
       <p>The <a href=#timed-track-disabled>timed track disabled</a> mode.</p>
      </dd>
-     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-HIDDEN>HIDDEN</code> (0)</dt>
+     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-HIDDEN><a href=#dom-timedtrack-hidden>HIDDEN</a></code> (0)</dt>
      <dd>
       <p>The <a href=#timed-track-hidden>timed track hidden</a> mode.</p>
      </dd>
-     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-SHOWING>SHOWING</code> (0)</dt>
+     <dt><code><a href=#timedtrack>TimedTrack</a></code> . <code title=dom-TimedTrack-SHOWING><a href=#dom-timedtrack-showing>SHOWING</a></code> (0)</dt>
      <dd>
       <p>The <a href=#timed-track-showing>timed track showing</a> mode.</p>
      </dd>
     </dl><p>Can be set, to change the mode.</p>
    </dd>
 
-   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-cues>cues</code></dt>
+   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-cues><a href=#dom-timedtrack-cues>cues</a></code></dt>
    <dd>
     <p>Returns the <a href=#timed-track-list-of-cues>timed track list of cues</a>, as a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object.</p>
    </dd>
 
-   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-activeCues>activeCues</code></dt>
+   <dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-activeCues><a href=#dom-timedtrack-activecues>activeCues</a></code></dt>
    <dd>
     <p>Returns the <a href=#timed-track-cue title="timed track cue">timed track cues</a> from the <a href=#timed-track-list-of-cues>timed track list of cues</a> that are currently active (i.e. that start before the <a href=#current-playback-position>current playback position</a> and end after it), as a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object.</p>
    </dd>
@@ -26767,10 +26767,10 @@
   represents.</p>
 
   <p>The <dfn id=dom-timedtrack-readystate title=dom-TimedTrack-readyState><code>readyState</code></dfn>
-  attribute must return the code corresponding to the <a href=#timed-track-readiness-state>timed
-  track readiness state</a> of the <a href=#timed-track>timed track</a> that
-  the <code><a href=#timedtrack>TimedTrack</a></code> object represents, as defined by the
-  following list:</p>
+  attribute must return the numeric value corresponding to the
+  <a href=#timed-track-readiness-state>timed track readiness state</a> of the <a href=#timed-track>timed
+  track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object represents, as
+  defined by the following list:</p>
 
   <dl><dt><dfn id=dom-timedtrack-none title=dom-TimedTrack-NONE><code>NONE</code></dfn> (numeric value 0)</dt>
    <dd>The <a href=#timed-track-not-loaded>timed track not loaded</a> state.</dd>
@@ -26780,32 +26780,67 @@
    <dd>The <a href=#timed-track-loaded>timed track loaded</a> state.</dd>
    <dt><dfn id=dom-timedtrack-error title=dom-TimedTrack-ERROR><code>ERROR</code></dfn> (numeric value 3)</dt>
    <dd>The <a href=#timed-track-failed-to-load>timed track failed to load</a> state.</dd>
-  </dl><!-- XXX
+  </dl><p>The <dfn id=dom-timedtrack-mode title=dom-TimedTrack-mode><code>mode</code></dfn>
+  attribute, on getting, must return the numeric value corresponding
+  to the <a href=#timed-track-mode>timed track mode</a> of the <a href=#timed-track>timed track</a>
+  that the <code><a href=#timedtrack>TimedTrack</a></code> object represents, as defined by
+  the following list:</p>
 
-  const unsigned short <dfn title="dom-TimedTrack-OFF"><code>OFF</code></dfn> = 0
-  const unsigned short <dfn title="dom-TimedTrack-HIDDEN"><code>HIDDEN</code></dfn> = 1
-  const unsigned short <dfn title="dom-TimedTrack-SHOWING"><code>SHOWING</code></dfn> = 2
-           attribute unsigned short <dfn title="dom-TimedTrack-mode"><code>mode</code></dfn>
+  <dl><dt><dfn id=dom-timedtrack-off title=dom-TimedTrack-OFF><code>OFF</code></dfn> (numeric value 0)</dt>
+   <dd>The <a href=#timed-track-disabled>timed track disabled</a> mode.</dd>
+   <dt><dfn id=dom-timedtrack-hidden title=dom-TimedTrack-HIDDEN><code>HIDDEN</code></dfn> (numeric value 1)</dt>
+   <dd>The <a href=#timed-track-hidden>timed track hidden</a> mode.</dd>
+   <dt><dfn id=dom-timedtrack-showing title=dom-TimedTrack-SHOWING><code>SHOWING</code></dfn> (numeric value 2)</dt>
+   <dd>The <a href=#timed-track-showing>timed track showing</a> mode.</dd>
+  </dl><p class=XXX>On setting, ...</p>
 
-  readonly attribute <span>TimedTrackCueList</span> <dfn title="dom-TimedTrack-cues"><code>cues</code></dfn>
-  readonly attribute <span>TimedTrackCueList</span> <dfn title="dom-TimedTrack-activeCues"><code>activeCues</code></dfn>
-
-   Make sure that .cues and .activeCues doesn't change while script is
-   running, except for addCue/removeCue and the removal of all cues in
-   the face of a dynamic track.src change.
-
-  <p>User agents must not expose cues whose start and end times are
-  entirely prior to the <span>media resource</span>'s <span>earliest
-  possible position</span>.</p>
-
+<!-- XXX
   changing dom-TimedTrack-mode to disabled/hidden should hide all the
   titles, changing it to showing should show them. (Only 'showing'
   tracks get updated automatically.)
+-->
 
+  <p>If the <a href=#timed-track-mode>timed track mode</a> of the <a href=#timed-track>timed
+  track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object represents is
+  not the <a href=#timed-track-disabled>timed track disabled</a> mode, then the <dfn id=dom-timedtrack-cues title=dom-TimedTrack-cues><code>cues</code></dfn> attribute must
+  return a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object that represents the
+  subset of the <a href=#timed-track-list-of-cues>timed track list of cues</a> of the
+  <a href=#timed-track>timed track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object
+  represents whose <a href=#timed-track-cue-start-time title="timed track cue start time">start
+  times</a> occur before the <span>earliest possible position when
+  the script started</span>, in <a href=#timed-track-cue-order>timed track cue
+  order</a>. Otherwise, it must return null. When an object is
+  returned, the same object must be returned each time.</p>
+
+  <p>The <dfn id=earliest-possibly-position-when-the-script-started>earliest possibly position when the script started</dfn>
+  is whatever the <span>earliest possibly position</span> was the last
+  time the <a href=#event-loop>event loop</a> reached step 1.</p>
+
+  <p>If the <a href=#timed-track-mode>timed track mode</a> of the <a href=#timed-track>timed
+  track</a> that the <code><a href=#timedtrack>TimedTrack</a></code> object represents is
+  not the <a href=#timed-track-disabled>timed track disabled</a> mode, then the <dfn id=dom-timedtrack-activecues title=dom-TimedTrack-activeCues><code>activeCues</code></dfn>
+  attribute must return a <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object that
+  represents the subset of the <a href=#timed-track-list-of-cues>timed track list of cues</a>
+  of the <a href=#timed-track>timed track</a> that the <code><a href=#timedtrack>TimedTrack</a></code>
+  object represents whose <a href=#timed-track-cue-start-time title="timed track cue start
+  time">start times</a> occur before the <a href=#current-playback-position-when-the-script-started>current playback
+  position when the script started</a> and whose <a href=#timed-track-cue-end-time title="timed
+  track cue end time">end times</a> occur after the <a href=#current-playback-position-when-the-script-started>current
+  playback position when the script started</a>, in <a href=#timed-track-cue-order>timed
+  track cue order</a>. Otherwise, it must return null. When an
+  object is returned, the same object must be returned each time.</p>
+
+  <p>The <dfn id=current-playback-position-when-the-script-started>current playback position when the script started</dfn>
+  is whatever the <a href=#current-playback-position>current playback position</a> was the last
+  time the <a href=#event-loop>event loop</a> reached step 1.</p>
+
+<!-- XXX
  - <span>MutableTimedTrack</span> <span title="dom-media-addTrack">addTrack</span>(in DOMString label, in DOMString kind, in DOMString language);
    - addTrack should add it as Loaded, Disabled, and with the rules for WebSRT.
---></div>
+-->
 
+  </div>
+
   <hr><pre class=idl>interface <dfn id=mutabletimedtrack>MutableTimedTrack</dfn> : <a href=#timedtrack>TimedTrack</a> {
  void <span title=dom-MutableTimedTrack-addCue>addCue</span>(in <a href=#timedtrackcue>TimedTrackCue</a> cue);
  void <span title=dom-MutableTimedTrack-removeCue>removeCue</span>(in <a href=#timedtrackcue>TimedTrackCue</a> cue);
@@ -26832,6 +26867,13 @@
 
   <p class=XXX>...</p>
 
+<!-- XXX
+   Make sure that <code>TimedTrackCueList</code>s don't change while
+   script is running, except for addCue/removeCue and the removal of
+   all cues in the face of a dynamic track.src change.
+   (right now only in-band cues can change this, I think)
+-->
+
   </div>
 
   <hr><pre class=idl>interface <dfn id=timedtrackcuelist>TimedTrackCueList</dfn> {

Modified: source
===================================================================
--- source	2010-07-08 17:49:49 UTC (rev 5138)
+++ source	2010-07-08 17:57:23 UTC (rev 5139)
@@ -29138,17 +29138,17 @@
   <p>If the <span>timed track mode</span> of the <span>timed
   track</span> that the <code>TimedTrack</code> object represents is
   not the <span>timed track disabled</span> mode, then the <dfn
-  title="dom-TimedTrack-cues"><code>cues</code></dfn> attribute must
-  return a <code>TimedTrackCueList</code> object that represents the
-  subset of the <span>timed track list of cues</span> of the
-  <span>timed track</span> that the <code>TimedTrack</code> object
-  represents whose <span title="timed track cue start time">start
-  times</span> occur before the <span>current playback position when
-  the script started</span> and whose <span title="timed track cue end
-  time">end times</span> occur after the <span>current playback
-  position when the script started</span>, in <span>timed track cue
-  order</span>. Otherwise, it must return null. When an object is
-  returned, the same object must be returned each time.</p>
+  title="dom-TimedTrack-activeCues"><code>activeCues</code></dfn>
+  attribute must return a <code>TimedTrackCueList</code> object that
+  represents the subset of the <span>timed track list of cues</span>
+  of the <span>timed track</span> that the <code>TimedTrack</code>
+  object represents whose <span title="timed track cue start
+  time">start times</span> occur before the <span>current playback
+  position when the script started</span> and whose <span title="timed
+  track cue end time">end times</span> occur after the <span>current
+  playback position when the script started</span>, in <span>timed
+  track cue order</span>. Otherwise, it must return null. When an
+  object is returned, the same object must be returned each time.</p>
 
   <p>The <dfn>current playback position when the script started</dfn>
   is whatever the <span>current playback position</span> was the last




More information about the Commit-Watchers mailing list