- From: poot <cvsmail@w3.org>
- Date: Wed, 17 Aug 2011 19:55:12 -0400
- To: public-html-diffs@w3.org
hixie: Make addTextTrack() actually create and return the MutableTextTrack object. (whatwg r6506) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5206&r2=1.5207&f=h http://html5.org/tools/web-apps-tracker?from=6505&to=6506 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5206 retrieving revision 1.5207 diff -u -d -r1.5206 -r1.5207 --- Overview.html 17 Aug 2011 23:51:16 -0000 1.5206 +++ Overview.html 17 Aug 2011 23:54:48 -0000 1.5207 @@ -26628,14 +26628,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. </p> </li> @@ -26645,6 +26649,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>
Received on Wednesday, 17 August 2011 23:55:20 UTC