[html5] r6689 - [giow] (0) Move TextTrack.readyState to HTMLTrackElement. Fixing http://www.w3.o [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Oct 14 17:08:04 PDT 2011
Author: ianh
Date: 2011-10-14 17:08:03 -0700 (Fri, 14 Oct 2011)
New Revision: 6689
Modified:
complete.html
index
source
Log:
[giow] (0) Move TextTrack.readyState to HTMLTrackElement.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14241
Modified: complete.html
===================================================================
--- complete.html 2011-10-14 22:31:27 UTC (rev 6688)
+++ complete.html 2011-10-15 00:08:03 UTC (rev 6689)
@@ -240,7 +240,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 14 October 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 15 October 2011</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -26435,6 +26435,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>
@@ -26555,8 +26561,30 @@
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.</p>
- <dl class=domintro><dt><var title="">track</var> . <code title=dom-track-track><a href=#dom-track-track>track</a></code></dt>
+ <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>
<p>Returns the <code><a href=#texttrack>TextTrack</a></code> object corresponding to the <a href=#text-track>text track</a> of the <code><a href=#the-track-element>track</a></code> element.</p>
@@ -26565,7 +26593,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>
@@ -31578,14 +31619,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;
@@ -31612,28 +31645,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
@@ -31680,21 +31691,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
@@ -32468,9 +32465,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
Modified: index
===================================================================
--- index 2011-10-14 22:31:27 UTC (rev 6688)
+++ index 2011-10-15 00:08:03 UTC (rev 6689)
@@ -240,7 +240,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 14 October 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 15 October 2011</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -26435,6 +26435,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>
@@ -26555,8 +26561,30 @@
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.</p>
- <dl class=domintro><dt><var title="">track</var> . <code title=dom-track-track><a href=#dom-track-track>track</a></code></dt>
+ <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>
<p>Returns the <code><a href=#texttrack>TextTrack</a></code> object corresponding to the <a href=#text-track>text track</a> of the <code><a href=#the-track-element>track</a></code> element.</p>
@@ -26565,7 +26593,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>
@@ -31578,14 +31619,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;
@@ -31612,28 +31645,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
@@ -31680,21 +31691,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
@@ -32468,9 +32465,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
Modified: source
===================================================================
--- source 2011-10-14 22:31:27 UTC (rev 6688)
+++ source 2011-10-15 00:08:03 UTC (rev 6689)
@@ -28425,6 +28425,12 @@
attribute DOMString <span title="dom-track-label">label</span>;
attribute boolean <span title="dom-track-default">default</span>;
+ const unsigned short <span title="dom-track-NONE">NONE</span> = 0;
+ const unsigned short <span title="dom-track-LOADING">LOADING</span> = 1;
+ const unsigned short <span title="dom-track-LOADED">LOADED</span> = 2;
+ const unsigned short <span title="dom-track-ERROR">ERROR</span> = 3;
+ readonly attribute unsigned short <span title="dom-track-readyState">readyState</span>;
+
readonly attribute <span>TextTrack</span> <span title="dom-track-track">track</span>;
};</pre>
</dd>
@@ -28572,6 +28578,30 @@
<dl class="domintro">
+ <dt><var title="">track</var> . <code title="dom-track-readyState">readyState</code></dt>
+ <dd>
+ <p>Returns the <span>text track readiness state</span>,
+ represented by a number from the following list:</p>
+ <dl>
+ <dt><var title="">track</var> . <code title="dom-track-NONE">NONE</code> (0)</dt>
+ <dd>
+ <p>The <span>text track not loaded</span> state.</p>
+ </dd>
+ <dt><var title="">track</var> . <code title="dom-track-LOADING">LOADING</code> (1)</dt>
+ <dd>
+ <p>The <span>text track loading</span> state.</p>
+ </dd>
+ <dt><var title="">track</var> . <code title="dom-track-LOADED">LOADED</code> (2)</dt>
+ <dd>
+ <p>The <span>text track loaded</span> state.</p>
+ </dd>
+ <dt><var title="">track</var> . <code title="dom-track-ERROR">ERROR</code> (3)</dt>
+ <dd>
+ <p>The <span>text track failed to load</span> state.</p>
+ </dd>
+ </dl>
+ </dd>
+
<dt><var title="">track</var> . <code title="dom-track-track">track</code></dt>
<dd>
@@ -28584,6 +28614,23 @@
<div class="impl">
+ <p>The <dfn
+ title="dom-track-readyState"><code>readyState</code></dfn> attribute
+ must return the numeric value corresponding to the <span>text track
+ readiness state</span> of the <code>track</code> element's
+ <span>text track</span>, as defined by the following list:</p>
+
+ <dl>
+ <dt><dfn title="dom-track-NONE"><code>NONE</code></dfn> (numeric value 0)</dt>
+ <dd>The <span>text track not loaded</span> state.</dd>
+ <dt><dfn title="dom-track-LOADING"><code>LOADING</code></dfn> (numeric value 1)</dt>
+ <dd>The <span>text track loading</span> state.</dd>
+ <dt><dfn title="dom-track-LOADED"><code>LOADED</code></dfn> (numeric value 2)</dt>
+ <dd>The <span>text track loaded</span> state.</dd>
+ <dt><dfn title="dom-track-ERROR"><code>ERROR</code></dfn> (numeric value 3)</dt>
+ <dd>The <span>text track failed to load</span> state.</dd>
+ </dl>
+
<p>The <dfn title="dom-track-track"><code>track</code></dfn> IDL
attribute must, on getting, return the <code>track</code> element's
<span>text track</span>'s corresponding <code>TextTrack</code>
@@ -34449,14 +34496,6 @@
readonly attribute DOMString <span title="dom-TextTrack-label">label</span>;
readonly attribute DOMString <span title="dom-TextTrack-language">language</span>;
- const unsigned short <span title="dom-TextTrack-NONE">NONE</span> = 0;
- const unsigned short <span title="dom-TextTrack-LOADING">LOADING</span> = 1;
- const unsigned short <span title="dom-TextTrack-LOADED">LOADED</span> = 2;
- const unsigned short <span title="dom-TextTrack-ERROR">ERROR</span> = 3;
- readonly attribute unsigned short <span title="dom-TextTrack-readyState">readyState</span>;
- [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-TextTrack-onload">onload</span>;
- [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-TextTrack-onerror">onerror</span>;
-
const unsigned short <span title="dom-TextTrack-DISABLED">DISABLED</span> = 0;
const unsigned short <span title="dom-TextTrack-HIDDEN">HIDDEN</span> = 1;
const unsigned short <span title="dom-TextTrack-SHOWING">SHOWING</span> = 2;
@@ -34485,30 +34524,6 @@
<p>Returns the <span>text track language</span> string.</p>
</dd>
- <dt><var title="">textTrack</var> . <code title="dom-TextTrack-readyState">readyState</code></dt>
- <dd>
- <p>Returns the <span>text track readiness state</span>,
- represented by a number from the following list:</p>
- <dl>
- <dt><code>TextTrack</code> . <code title="dom-TextTrack-NONE">NONE</code> (0)</dt>
- <dd>
- <p>The <span>text track not loaded</span> state.</p>
- </dd>
- <dt><code>TextTrack</code> . <code title="dom-TextTrack-LOADING">LOADING</code> (1)</dt>
- <dd>
- <p>The <span>text track loading</span> state.</p>
- </dd>
- <dt><code>TextTrack</code> . <code title="dom-TextTrack-LOADED">LOADED</code> (2)</dt>
- <dd>
- <p>The <span>text track loaded</span> state.</p>
- </dd>
- <dt><code>TextTrack</code> . <code title="dom-TextTrack-ERROR">ERROR</code> (3)</dt>
- <dd>
- <p>The <span>text track failed to load</span> state.</p>
- </dd>
- </dl>
- </dd>
-
<dt><var title="">textTrack</var> . <code title="dom-TextTrack-mode">mode</code> [ = <var title="">value</var> ]</dt>
<dd>
<p>Returns the <span>text track mode</span>, represented by a
@@ -34560,24 +34575,6 @@
<span>text track</span> that the <code>TextTrack</code> object
represents.</p>
- <p>The <dfn
- title="dom-TextTrack-readyState"><code>readyState</code></dfn>
- attribute must return the numeric value corresponding to the
- <span>text track readiness state</span> of the <span>text
- track</span> that the <code>TextTrack</code> object represents, as
- defined by the following list:</p>
-
- <dl>
- <dt><dfn title="dom-TextTrack-NONE"><code>NONE</code></dfn> (numeric value 0)</dt>
- <dd>The <span>text track not loaded</span> state.</dd>
- <dt><dfn title="dom-TextTrack-LOADING"><code>LOADING</code></dfn> (numeric value 1)</dt>
- <dd>The <span>text track loading</span> state.</dd>
- <dt><dfn title="dom-TextTrack-LOADED"><code>LOADED</code></dfn> (numeric value 2)</dt>
- <dd>The <span>text track loaded</span> state.</dd>
- <dt><dfn title="dom-TextTrack-ERROR"><code>ERROR</code></dfn> (numeric value 3)</dt>
- <dd>The <span>text track failed to load</span> state.</dd>
- </dl>
-
<p>The <dfn title="dom-TextTrack-mode"><code>mode</code></dfn>
attribute, on getting, must return the numeric value corresponding
to the <span>text track mode</span> of the <span>text track</span>
@@ -35475,8 +35472,6 @@
<thead>
<tr><th><span title="event handlers">Event handler</span> <th><span>Event handler event type</span>
<tbody>
- <tr><td><dfn title="handler-TextTrack-onload"><code>onload</code></dfn> <td> <code title="event-load">load</code>
- <tr><td><dfn title="handler-TextTrack-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code>
<tr><td><dfn title="handler-TextTrack-oncuechange"><code>oncuechange</code></dfn> <td> <code title="event-cuechange">cuechange</code>
</table>
More information about the Commit-Watchers
mailing list