[html5] r6506 - [e] (0) Make addTextTrack() actually create and return the MutableTextTrack obje [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Aug 17 16:54:15 PDT 2011


Author: ianh
Date: 2011-08-17 16:54:13 -0700 (Wed, 17 Aug 2011)
New Revision: 6506

Modified:
   complete.html
   index
   source
Log:
[e] (0) Make addTextTrack() actually create and return the MutableTextTrack object.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12864

Modified: complete.html
===================================================================
--- complete.html	2011-08-17 23:50:43 UTC (rev 6505)
+++ complete.html	2011-08-17 23:54:13 UTC (rev 6506)
@@ -31773,14 +31773,18 @@
 
    <li>
 
-    <p>Create a new <a href=#text-track>text track</a>, and set its <a href=#text-track-kind>text
-    track kind</a> to <var title="">kind</var>, its <a href=#text-track-label>text
-    track label</a> to <var title="">label</var>, its <a href=#text-track-language>text
-    track language</a> to <var title="">language</var>, its
-    <a href=#text-track-readiness-state>text track readiness state</a> to the <a href=#text-track-loaded>text track
-    loaded</a> state, its <a href=#text-track-mode>text track mode</a> to the
-    <a href=#text-track-hidden>text track hidden</a> mode, and its <a href=#text-track-list-of-cues>text track
-    list of cues</a> to an empty list.
+    <p>Create a new <code><a href=#mutabletexttrack>MutableTextTrack</a></code> object.</p>
+
+   </li>
+
+   <li>
+
+    <p>Create a new <a href=#text-track>text track</a> corresponding to the new
+    object, and set its <a href=#text-track-kind>text track kind</a> to <var title="">kind</var>, its <a href=#text-track-label>text track label</a> to <var title="">label</var>, its <a href=#text-track-language>text track language</a> to <var title="">language</var>, its <a href=#text-track-readiness-state>text track readiness
+    state</a> to the <a href=#text-track-loaded>text track loaded</a> state, its
+    <a href=#text-track-mode>text track mode</a> to the <a href=#text-track-hidden>text track hidden</a>
+    mode, and its <a href=#text-track-list-of-cues>text track list of cues</a> to an empty
+    list.
 <!--TTVTT-->
     Associate the <a href=#text-track-list-of-cues>text track list of cues</a> with the
     <a href=#rules-for-updating-the-display-of-webvtt-text-tracks>rules for updating the display of WebVTT text tracks</a>
@@ -31795,6 +31799,14 @@
     <p>Add the new <a href=#text-track>text track</a> to the <a href=#media-element>media
     element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
 
+   </li>
+
+   <li>
+
+    <p>Return the new <code><a href=#mutabletexttrack>MutableTextTrack</a></code> object.</p>
+
+   </li>
+
   </ol><p>The <dfn id=dom-mutabletexttrack-addcue title=dom-MutableTextTrack-addCue><code>addCue(<var title="">cue</var>)</code></dfn> method of
   <code><a href=#mutabletexttrack>MutableTextTrack</a></code> objects, when invoked, must run the
   following steps:</p>

Modified: index
===================================================================
--- index	2011-08-17 23:50:43 UTC (rev 6505)
+++ index	2011-08-17 23:54:13 UTC (rev 6506)
@@ -31640,14 +31640,18 @@
 
    <li>
 
-    <p>Create a new <a href=#text-track>text track</a>, and set its <a href=#text-track-kind>text
-    track kind</a> to <var title="">kind</var>, its <a href=#text-track-label>text
-    track label</a> to <var title="">label</var>, its <a href=#text-track-language>text
-    track language</a> to <var title="">language</var>, its
-    <a href=#text-track-readiness-state>text track readiness state</a> to the <a href=#text-track-loaded>text track
-    loaded</a> state, its <a href=#text-track-mode>text track mode</a> to the
-    <a href=#text-track-hidden>text track hidden</a> mode, and its <a href=#text-track-list-of-cues>text track
-    list of cues</a> to an empty list.
+    <p>Create a new <code><a href=#mutabletexttrack>MutableTextTrack</a></code> object.</p>
+
+   </li>
+
+   <li>
+
+    <p>Create a new <a href=#text-track>text track</a> corresponding to the new
+    object, and set its <a href=#text-track-kind>text track kind</a> to <var title="">kind</var>, its <a href=#text-track-label>text track label</a> to <var title="">label</var>, its <a href=#text-track-language>text track language</a> to <var title="">language</var>, its <a href=#text-track-readiness-state>text track readiness
+    state</a> to the <a href=#text-track-loaded>text track loaded</a> state, its
+    <a href=#text-track-mode>text track mode</a> to the <a href=#text-track-hidden>text track hidden</a>
+    mode, and its <a href=#text-track-list-of-cues>text track list of cues</a> to an empty
+    list.
 <!--TTVTT-->
     Associate the <a href=#text-track-list-of-cues>text track list of cues</a> with the
     <a href=#rules-for-updating-the-display-of-webvtt-text-tracks>rules for updating the display of WebVTT text tracks</a>
@@ -31662,6 +31666,14 @@
     <p>Add the new <a href=#text-track>text track</a> to the <a href=#media-element>media
     element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
 
+   </li>
+
+   <li>
+
+    <p>Return the new <code><a href=#mutabletexttrack>MutableTextTrack</a></code> object.</p>
+
+   </li>
+
   </ol><p>The <dfn id=dom-mutabletexttrack-addcue title=dom-MutableTextTrack-addCue><code>addCue(<var title="">cue</var>)</code></dfn> method of
   <code><a href=#mutabletexttrack>MutableTextTrack</a></code> objects, when invoked, must run the
   following steps:</p>

Modified: source
===================================================================
--- source	2011-08-17 23:50:43 UTC (rev 6505)
+++ source	2011-08-17 23:54:13 UTC (rev 6506)
@@ -34649,14 +34649,21 @@
 
    <li>
 
-    <p>Create a new <span>text track</span>, and set its <span>text
-    track kind</span> to <var title="">kind</var>, its <span>text
-    track label</span> to <var title="">label</var>, its <span>text
-    track language</span> to <var title="">language</var>, its
-    <span>text track readiness state</span> to the <span>text track
-    loaded</span> state, its <span>text track mode</span> to the
-    <span>text track hidden</span> mode, and its <span>text track
-    list of cues</span> to an empty list.
+    <p>Create a new <code>MutableTextTrack</code> object.</p>
+
+   </li>
+
+   <li>
+
+    <p>Create a new <span>text track</span> corresponding to the new
+    object, and set its <span>text track kind</span> to <var
+    title="">kind</var>, its <span>text track label</span> to <var
+    title="">label</var>, its <span>text track language</span> to <var
+    title="">language</var>, its <span>text track readiness
+    state</span> to the <span>text track loaded</span> state, its
+    <span>text track mode</span> to the <span>text track hidden</span>
+    mode, and its <span>text track list of cues</span> to an empty
+    list.
 <!--END w3c-html--><!--TTVTT-->
     Associate the <span>text track list of cues</span> with the
     <span>rules for updating the display of WebVTT text tracks</span>
@@ -34671,6 +34678,14 @@
     <p>Add the new <span>text track</span> to the <span>media
     element</span>'s <span>list of text tracks</span>.</p>
 
+   </li>
+
+   <li>
+
+    <p>Return the new <code>MutableTextTrack</code> object.</p>
+
+   </li>
+
   </ol>
 
   <p>The <dfn title="dom-MutableTextTrack-addCue"><code>addCue(<var




More information about the Commit-Watchers mailing list