[html5] r5135 - [giow] (0) Captions - Stage 19: define the event handlers for the timed track API.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 7 16:42:15 PDT 2010


Author: ianh
Date: 2010-07-07 16:42:14 -0700 (Wed, 07 Jul 2010)
New Revision: 5135

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Captions - Stage 19: define the event handlers for the timed track API.

Modified: complete.html
===================================================================
--- complete.html	2010-07-07 23:37:58 UTC (rev 5134)
+++ complete.html	2010-07-07 23:42:14 UTC (rev 5135)
@@ -26736,8 +26736,8 @@
   const unsigned short <span title=dom-TimedTrack-LOADED>LOADED</span> = 2;
   const unsigned short <span title=dom-TimedTrack-ERROR>ERROR</span> = 3;
   readonly attribute unsigned short <span title=dom-TimedTrack-readyState>readyState</span>;
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrack-onload>onload</span>;
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrack-onerror>onerror</span>;
+  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;
@@ -26747,7 +26747,7 @@
   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=#function>Function</a> <span title=dom-TimedTrack-oncuechange>oncuechange</span>;
+  readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-oncuechange title=handler-TimedTrack-oncuechange>oncuechange</a>;
 };</pre>
 
   <dl class=domintro><dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-kind>kind</code></dt>
@@ -26916,8 +26916,8 @@
   DOMString <span title=dom-TimedTrackCue-getCueAsSource()>getCueAsSource</span>();
   <a href=#documentfragment>DocumentFragment</a> <span title=dom-TimedTrackCue-getCueAsHTML()>getCueAsHTML</span>();
 
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrackCue-onenter>onenter</span>;
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrackCue-onexit>onexit</span>;
+  readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onenter title=handler-TimedTrackCue-onenter>onenter</a>;
+  readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit>onexit</a>;
 };</pre>
 
   <dl class=domintro><dt><var title="">cue</var> = new <code title=dom-TimedTrackCue>TimedTrackCue</code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">voice</var> [, <var title="">pauseOnExit</var> ] ] ] )</dt>
@@ -27025,20 +27025,28 @@
   </div>
 
 
+  <div class=impl>
 
   <h6 id=cue-events><span class=secno>4.8.10.10.6 </span>Event definitions</h6>
 
-<!-- XXX
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onload">onload</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onerror">onerror</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-oncuechange">oncuechange</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onenter">onenter</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onexit">onexit</span>;
--->
+  <p>The following are the <a href=#event-handlers>event handlers</a> that must be
+  supported, as IDL attributes, by all objects implementing the
+  <code><a href=#timedtrack>TimedTrack</a></code> interface:</p>
 
-  <p class=XXX>...</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-timedtrack-onload title=handler-TimedTrack-onload><code>onload</code></dfn> <td> <code title=event-load>load</code>
+    <tr><td><dfn id=handler-timedtrack-onerror title=handler-TimedTrack-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
+    <tr><td><dfn id=handler-timedtrack-oncuechange title=handler-TimedTrack-oncuechange><code>oncuechange</code></dfn> <td> <code title=event-cuechange>close</code>
+  </table><p>The following are the <a href=#event-handlers>event handlers</a> that must be
+  supported, as IDL attributes, by all objects implementing the
+  <code><a href=#timedtrackcue>TimedTrackCue</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-timedtrackcue-onenter title=handler-TimedTrackCue-onenter><code>onenter</code></dfn> <td> <code title=event-enter>enter</code>
+    <tr><td><dfn id=handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit><code>onexit</code></dfn> <td> <code title=event-exit>close</code>
+  </table></div>
 
+
   <h5 id=websrt-0><span class=secno>4.8.10.11 </span>WebSRT</h5>
 
   <p>The <dfn id=websrt>WebSRT</dfn> format (Web Subtitle Resource Tracks) is a

Modified: index
===================================================================
--- index	2010-07-07 23:37:58 UTC (rev 5134)
+++ index	2010-07-07 23:42:14 UTC (rev 5135)
@@ -26663,8 +26663,8 @@
   const unsigned short <span title=dom-TimedTrack-LOADED>LOADED</span> = 2;
   const unsigned short <span title=dom-TimedTrack-ERROR>ERROR</span> = 3;
   readonly attribute unsigned short <span title=dom-TimedTrack-readyState>readyState</span>;
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrack-onload>onload</span>;
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrack-onerror>onerror</span>;
+  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;
@@ -26674,7 +26674,7 @@
   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=#function>Function</a> <span title=dom-TimedTrack-oncuechange>oncuechange</span>;
+  readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrack-oncuechange title=handler-TimedTrack-oncuechange>oncuechange</a>;
 };</pre>
 
   <dl class=domintro><dt><var title="">timedTrack</var> . <code title=dom-TimedTrack-kind>kind</code></dt>
@@ -26843,8 +26843,8 @@
   DOMString <span title=dom-TimedTrackCue-getCueAsSource()>getCueAsSource</span>();
   <a href=#documentfragment>DocumentFragment</a> <span title=dom-TimedTrackCue-getCueAsHTML()>getCueAsHTML</span>();
 
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrackCue-onenter>onenter</span>;
-  readonly attribute <a href=#function>Function</a> <span title=dom-TimedTrackCue-onexit>onexit</span>;
+  readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onenter title=handler-TimedTrackCue-onenter>onenter</a>;
+  readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit>onexit</a>;
 };</pre>
 
   <dl class=domintro><dt><var title="">cue</var> = new <code title=dom-TimedTrackCue>TimedTrackCue</code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">voice</var> [, <var title="">pauseOnExit</var> ] ] ] )</dt>
@@ -26952,20 +26952,28 @@
   </div>
 
 
+  <div class=impl>
 
   <h6 id=cue-events><span class=secno>4.8.10.10.6 </span>Event definitions</h6>
 
-<!-- XXX
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onload">onload</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onerror">onerror</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-oncuechange">oncuechange</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onenter">onenter</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onexit">onexit</span>;
--->
+  <p>The following are the <a href=#event-handlers>event handlers</a> that must be
+  supported, as IDL attributes, by all objects implementing the
+  <code><a href=#timedtrack>TimedTrack</a></code> interface:</p>
 
-  <p class=XXX>...</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-timedtrack-onload title=handler-TimedTrack-onload><code>onload</code></dfn> <td> <code title=event-load>load</code>
+    <tr><td><dfn id=handler-timedtrack-onerror title=handler-TimedTrack-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
+    <tr><td><dfn id=handler-timedtrack-oncuechange title=handler-TimedTrack-oncuechange><code>oncuechange</code></dfn> <td> <code title=event-cuechange>close</code>
+  </table><p>The following are the <a href=#event-handlers>event handlers</a> that must be
+  supported, as IDL attributes, by all objects implementing the
+  <code><a href=#timedtrackcue>TimedTrackCue</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-timedtrackcue-onenter title=handler-TimedTrackCue-onenter><code>onenter</code></dfn> <td> <code title=event-enter>enter</code>
+    <tr><td><dfn id=handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit><code>onexit</code></dfn> <td> <code title=event-exit>close</code>
+  </table></div>
 
+
   <h5 id=websrt-0><span class=secno>4.8.10.11 </span>WebSRT</h5>
 
   <p>The <dfn id=websrt>WebSRT</dfn> format (Web Subtitle Resource Tracks) is a

Modified: source
===================================================================
--- source	2010-07-07 23:37:58 UTC (rev 5134)
+++ source	2010-07-07 23:42:14 UTC (rev 5135)
@@ -28964,8 +28964,8 @@
   const unsigned short <span title="dom-TimedTrack-LOADED">LOADED</span> = 2;
   const unsigned short <span title="dom-TimedTrack-ERROR">ERROR</span> = 3;
   readonly attribute unsigned short <span title="dom-TimedTrack-readyState">readyState</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onload">onload</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onerror">onerror</span>;
+  readonly attribute <span>Function</span> <span title="handler-TimedTrack-onload">onload</span>;
+  readonly attribute <span>Function</span> <span title="handler-TimedTrack-onerror">onerror</span>;
 
   const unsigned short <span title="dom-TimedTrack-OFF">OFF</span> = 0;
   const unsigned short <span title="dom-TimedTrack-HIDDEN">HIDDEN</span> = 1;
@@ -28975,7 +28975,7 @@
   readonly attribute <span>TimedTrackCueList</span> <span title="dom-TimedTrack-cues">cues</span>;
   readonly attribute <Span>TimedTrackCueList</span> <span title="dom-TimedTrack-activeCues">activeCues</span>;
 
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-oncuechange">oncuechange</span>;
+  readonly attribute <span>Function</span> <span title="handler-TimedTrack-oncuechange">oncuechange</span>;
 };</pre>
 
   <dl class="domintro">
@@ -29166,8 +29166,8 @@
   DOMString <span title="dom-TimedTrackCue-getCueAsSource()">getCueAsSource</span>();
   <span>DocumentFragment</span> <span title="dom-TimedTrackCue-getCueAsHTML()">getCueAsHTML</span>();
 
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onenter">onenter</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onexit">onexit</span>;
+  readonly attribute <span>Function</span> <span title="handler-TimedTrackCue-onenter">onenter</span>;
+  readonly attribute <span>Function</span> <span title="handler-TimedTrackCue-onexit">onexit</span>;
 };</pre>
 
   <dl class="domintro">
@@ -29283,20 +29283,38 @@
   </div>
 
 
+  <div class="impl">
 
   <h6 id="cue-events">Event definitions</h6>
 
-<!-- XXX
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onload">onload</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-onerror">onerror</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrack-oncuechange">oncuechange</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onenter">onenter</span>;
-  readonly attribute <span>Function</span> <span title="dom-TimedTrackCue-onexit">onexit</span>;
--->
+  <p>The following are the <span>event handlers</span> that must be
+  supported, as IDL attributes, by all objects implementing the
+  <code>TimedTrack</code> interface:</p>
 
-  <p class="XXX">...</p>
+  <table>
+   <thead>
+    <tr><th><span title="event handlers">Event handler</span> <th><span>Event handler event type</span>
+   <tbody>
+    <tr><td><dfn title="handler-TimedTrack-onload"><code>onload</code></dfn> <td> <code title="event-load">load</code>
+    <tr><td><dfn title="handler-TimedTrack-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code>
+    <tr><td><dfn title="handler-TimedTrack-oncuechange"><code>oncuechange</code></dfn> <td> <code title="event-cuechange">close</code>
+  </table>
 
+  <p>The following are the <span>event handlers</span> that must be
+  supported, as IDL attributes, by all objects implementing the
+  <code>TimedTrackCue</code> interface:</p>
 
+  <table>
+   <thead>
+    <tr><th><span title="event handlers">Event handler</span> <th><span>Event handler event type</span>
+   <tbody>
+    <tr><td><dfn title="handler-TimedTrackCue-onenter"><code>onenter</code></dfn> <td> <code title="event-enter">enter</code>
+    <tr><td><dfn title="handler-TimedTrackCue-onexit"><code>onexit</code></dfn> <td> <code title="event-exit">close</code>
+  </table>
+
+  </div>
+
+
   <h5>WebSRT</h5>
 
   <p>The <dfn>WebSRT</dfn> format (Web Subtitle Resource Tracks) is a




More information about the Commit-Watchers mailing list