W3C home > Mailing lists > Public > public-html-diffs@w3.org > October 2011

hixie: Move TextTrack.readyState to HTMLTrackElement. (whatwg r6689)

From: poot <cvsmail@w3.org>
Date: Fri, 14 Oct 2011 20:11:52 -0400
To: public-html-diffs@w3.org
Message-Id: <E1RErqy-0001m1-Ej@jay.w3.org>
hixie: Move TextTrack.readyState to HTMLTrackElement. (whatwg r6689)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5363&r2=1.5364&f=h
http://html5.org/tools/web-apps-tracker?from=6688&to=6689

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5363
retrieving revision 1.5364
diff -u -d -r1.5363 -r1.5364
--- Overview.html	14 Oct 2011 22:27:35 -0000	1.5363
+++ Overview.html	15 Oct 2011 00:11:34 -0000	1.5364
@@ -320,7 +320,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-14-october-2011">Editor's Draft 14 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-15-october-2011">Editor's Draft 15 October 2011</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>
@@ -466,7 +466,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 14 October 2011 Editor's Draft.
+  This specification is the 15 October 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><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 --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -21831,6 +21831,12 @@
            attribute DOMString <a href="#dom-track-label" title="dom-track-label">label</a>;
            attribute boolean <a href="#dom-track-default" title="dom-track-default">default</a>;
 
+  const unsigned short <a href="#dom-track-none" title="dom-track-NONE">NONE</a> = 0;
+  const unsigned short <a href="#dom-track-loading" title="dom-track-LOADING">LOADING</a> = 1;
+  const unsigned short <a href="#dom-track-loaded" title="dom-track-LOADED">LOADED</a> = 2;
+  const unsigned short <a href="#dom-track-error" title="dom-track-ERROR">ERROR</a> = 3;
+  readonly attribute unsigned short <a href="#dom-track-readystate" title="dom-track-readyState">readyState</a>;
+
   readonly attribute <a href="#texttrack">TextTrack</a> <a href="#dom-track-track" title="dom-track-track">track</a>;
 };</pre>
    </dd>
@@ -21916,7 +21922,29 @@
   attribute, if specified, indicates that the track is to be enabled
   if the user's preferences do not indicate that another track would
   be more appropriate. There must not be more than one
-  <code><a href="#the-track-element">track</a></code> element with the same parent node with the <code title="attr-track-default"><a href="#attr-track-default">default</a></code> attribute specified.<dl class="domintro"><dt><var title="">track</var> . <code title="dom-track-track"><a href="#dom-track-track">track</a></code></dt>
+  <code><a href="#the-track-element">track</a></code> element with the same parent node with the <code title="attr-track-default"><a href="#attr-track-default">default</a></code> attribute specified.<dl class="domintro"><dt><var title="">track</var> . <code title="dom-track-readyState"><a href="#dom-track-readystate">readyState</a></code></dt>
+   <dd>
+    <p>Returns the <a href="#text-track-readiness-state">text track readiness state</a>,
+    represented by a number from the following list:</p>
+    <dl><dt><var title="">track</var> . <code title="dom-track-NONE"><a href="#dom-track-none">NONE</a></code> (0)</dt>
+     <dd>
+      <p>The <a href="#text-track-not-loaded">text track not loaded</a> state.</p>
+     </dd>
+     <dt><var title="">track</var> . <code title="dom-track-LOADING"><a href="#dom-track-loading">LOADING</a></code> (1)</dt>
+     <dd>
+      <p>The <a href="#text-track-loading">text track loading</a> state.</p>
+     </dd>
+     <dt><var title="">track</var> . <code title="dom-track-LOADED"><a href="#dom-track-loaded">LOADED</a></code> (2)</dt>
+     <dd>
+      <p>The <a href="#text-track-loaded">text track loaded</a> state.</p>
+     </dd>
+     <dt><var title="">track</var> . <code title="dom-track-ERROR"><a href="#dom-track-error">ERROR</a></code> (3)</dt>
+     <dd>
+      <p>The <a href="#text-track-failed-to-load">text track failed to load</a> state.</p>
+     </dd>
+    </dl></dd>
+
+   <dt><var title="">track</var> . <code title="dom-track-track"><a href="#dom-track-track">track</a></code></dt>
 
    <dd>
 
@@ -21926,7 +21954,20 @@
 
   </dl><div class="impl">
 
-  <p>The <dfn id="dom-track-track" title="dom-track-track"><code>track</code></dfn> IDL
+  <p>The <dfn id="dom-track-readystate" title="dom-track-readyState"><code>readyState</code></dfn> attribute
+  must return the numeric value corresponding to the <a href="#text-track-readiness-state">text track
+  readiness state</a> of the <code><a href="#the-track-element">track</a></code> element's
+  <a href="#text-track">text track</a>, as defined by the following list:</p>
+
+  <dl><dt><dfn id="dom-track-none" title="dom-track-NONE"><code>NONE</code></dfn> (numeric value 0)</dt>
+   <dd>The <a href="#text-track-not-loaded">text track not loaded</a> state.</dd>
+   <dt><dfn id="dom-track-loading" title="dom-track-LOADING"><code>LOADING</code></dfn> (numeric value 1)</dt>
+   <dd>The <a href="#text-track-loading">text track loading</a> state.</dd>
+   <dt><dfn id="dom-track-loaded" title="dom-track-LOADED"><code>LOADED</code></dfn> (numeric value 2)</dt>
+   <dd>The <a href="#text-track-loaded">text track loaded</a> state.</dd>
+   <dt><dfn id="dom-track-error" title="dom-track-ERROR"><code>ERROR</code></dfn> (numeric value 3)</dt>
+   <dd>The <a href="#text-track-failed-to-load">text track failed to load</a> state.</dd>
+  </dl><p>The <dfn id="dom-track-track" title="dom-track-track"><code>track</code></dfn> IDL
   attribute must, on getting, return the <code><a href="#the-track-element">track</a></code> element's
   <a href="#text-track">text track</a>'s corresponding <code><a href="#texttrack">TextTrack</a></code>
   object.</p>
@@ -26409,14 +26450,6 @@
   readonly attribute DOMString <a href="#dom-texttrack-label" title="dom-TextTrack-label">label</a>;
   readonly attribute DOMString <a href="#dom-texttrack-language" title="dom-TextTrack-language">language</a>;
 
-  const unsigned short <a href="#dom-texttrack-none" title="dom-TextTrack-NONE">NONE</a> = 0;
-  const unsigned short <a href="#dom-texttrack-loading" title="dom-TextTrack-LOADING">LOADING</a> = 1;
-  const unsigned short <a href="#dom-texttrack-loaded" title="dom-TextTrack-LOADED">LOADED</a> = 2;
-  const unsigned short <a href="#dom-texttrack-error" title="dom-TextTrack-ERROR">ERROR</a> = 3;
-  readonly attribute unsigned short <a href="#dom-texttrack-readystate" title="dom-TextTrack-readyState">readyState</a>;
-  [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-texttrack-onload" title="handler-TextTrack-onload">onload</a>;
-  [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-texttrack-onerror" title="handler-TextTrack-onerror">onerror</a>;
-
   const unsigned short <a href="#dom-texttrack-disabled" title="dom-TextTrack-DISABLED">DISABLED</a> = 0;
   const unsigned short <a href="#dom-texttrack-hidden" title="dom-TextTrack-HIDDEN">HIDDEN</a> = 1;
   const unsigned short <a href="#dom-texttrack-showing" title="dom-TextTrack-SHOWING">SHOWING</a> = 2;
@@ -26441,28 +26474,6 @@
     <p>Returns the <a href="#text-track-language">text track language</a> string.</p>
    </dd>
 
-   <dt><var title="">textTrack</var> . <code title="dom-TextTrack-readyState"><a href="#dom-texttrack-readystate">readyState</a></code></dt>
-   <dd>
-    <p>Returns the <a href="#text-track-readiness-state">text track readiness state</a>,
-    represented by a number from the following list:</p>
-    <dl><dt><code><a href="#texttrack">TextTrack</a></code> . <code title="dom-TextTrack-NONE"><a href="#dom-texttrack-none">NONE</a></code> (0)</dt>
-     <dd>
-      <p>The <a href="#text-track-not-loaded">text track not loaded</a> state.</p>
-     </dd>
-     <dt><code><a href="#texttrack">TextTrack</a></code> . <code title="dom-TextTrack-LOADING"><a href="#dom-texttrack-loading">LOADING</a></code> (1)</dt>
-     <dd>
-      <p>The <a href="#text-track-loading">text track loading</a> state.</p>
-     </dd>
-     <dt><code><a href="#texttrack">TextTrack</a></code> . <code title="dom-TextTrack-LOADED"><a href="#dom-texttrack-loaded">LOADED</a></code> (2)</dt>
-     <dd>
-      <p>The <a href="#text-track-loaded">text track loaded</a> state.</p>
-     </dd>
-     <dt><code><a href="#texttrack">TextTrack</a></code> . <code title="dom-TextTrack-ERROR"><a href="#dom-texttrack-error">ERROR</a></code> (3)</dt>
-     <dd>
-      <p>The <a href="#text-track-failed-to-load">text track failed to load</a> state.</p>
-     </dd>
-    </dl></dd>
-
    <dt><var title="">textTrack</var> . <code title="dom-TextTrack-mode"><a href="#dom-texttrack-mode">mode</a></code> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns the <a href="#text-track-mode">text track mode</a>, represented by a
@@ -26509,21 +26520,7 @@
   <a href="#text-track">text track</a> that the <code><a href="#texttrack">TextTrack</a></code> object
   represents.</p>
 
-  <p>The <dfn id="dom-texttrack-readystate" title="dom-TextTrack-readyState"><code>readyState</code></dfn>
-  attribute must return the numeric value corresponding to the
-  <a href="#text-track-readiness-state">text track readiness state</a> of the <a href="#text-track">text
-  track</a> that the <code><a href="#texttrack">TextTrack</a></code> object represents, as
-  defined by the following list:</p>
-
-  <dl><dt><dfn id="dom-texttrack-none" title="dom-TextTrack-NONE"><code>NONE</code></dfn> (numeric value 0)</dt>
-   <dd>The <a href="#text-track-not-loaded">text track not loaded</a> state.</dd>
-   <dt><dfn id="dom-texttrack-loading" title="dom-TextTrack-LOADING"><code>LOADING</code></dfn> (numeric value 1)</dt>
-   <dd>The <a href="#text-track-loading">text track loading</a> state.</dd>
-   <dt><dfn id="dom-texttrack-loaded" title="dom-TextTrack-LOADED"><code>LOADED</code></dfn> (numeric value 2)</dt>
-   <dd>The <a href="#text-track-loaded">text track loaded</a> state.</dd>
-   <dt><dfn id="dom-texttrack-error" title="dom-TextTrack-ERROR"><code>ERROR</code></dfn> (numeric value 3)</dt>
-   <dd>The <a href="#text-track-failed-to-load">text track failed to load</a> state.</dd>
-  </dl><p>The <dfn id="dom-texttrack-mode" title="dom-TextTrack-mode"><code>mode</code></dfn>
+  <p>The <dfn id="dom-texttrack-mode" title="dom-TextTrack-mode"><code>mode</code></dfn>
   attribute, on getting, must return the numeric value corresponding
   to the <a href="#text-track-mode">text track mode</a> of the <a href="#text-track">text track</a>
   that the <code><a href="#texttrack">TextTrack</a></code> object represents, as defined by
@@ -27023,9 +27020,7 @@
   objects implementing the <code><a href="#texttrack">TextTrack</a></code> interface:</p>
 
   <table><thead><tr><th><a href="#event-handlers" title="event handlers">Event handler</a> <th><a href="#event-handler-event-type">Event handler event type</a>
-   <tbody><tr><td><dfn id="handler-texttrack-onload" title="handler-TextTrack-onload"><code>onload</code></dfn> <td> <code title="event-load">load</code>
-    <tr><td><dfn id="handler-texttrack-onerror" title="handler-TextTrack-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code>
-    <tr><td><dfn id="handler-texttrack-oncuechange" title="handler-TextTrack-oncuechange"><code>oncuechange</code></dfn> <td> <code title="event-cuechange">cuechange</code>
+   <tbody><tr><td><dfn id="handler-texttrack-oncuechange" title="handler-TextTrack-oncuechange"><code>oncuechange</code></dfn> <td> <code title="event-cuechange">cuechange</code>
   </table><p>The following are the <a href="#event-handlers">event handlers</a> that (and their
   corresponding <a href="#event-handler-event-type" title="event handler event type">event handler
   event types</a>) must be supported, as IDL attributes, by all
Received on Saturday, 15 October 2011 00:11:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 15 October 2011 00:11:56 GMT