hixie: Add onaddtrack to all the TrackList interfaces. Also, make the text that introduces event handler IDL attributes more consistent across the spec. (whatwg r6607)

hixie: Add onaddtrack to all the TrackList interfaces. Also, make the
text that introduces event handler IDL attributes more consistent across
the spec. (whatwg r6607)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5299&r2=1.5300&f=h
http://html5.org/tools/web-apps-tracker?from=6606&to=6607

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5299
retrieving revision 1.5300
diff -u -d -r1.5299 -r1.5300
--- Overview.html 30 Sep 2011 23:06:00 -0000 1.5299
+++ Overview.html 30 Sep 2011 23:14:52 -0000 1.5300
@@ -24427,7 +24427,9 @@
   readonly attribute unsigned long <a href="#dom-audiotracklist-length" title="dom-AudioTrackList-length">length</a>;
   getter <a href="#audiotrack">AudioTrack</a> (unsigned long index);
   <a href="#audiotrack">AudioTrack</a>? <a href="#dom-audiotracklist-gettrackbyid" title="dom-AudioTrackList-getTrackById">getTrackById</a>(DOMString id);
+
   [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-tracklist-onchange" title="handler-TrackList-onchange">onchange</a>;
+  [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-tracklist-onaddtrack" title="handler-TrackList-onaddtrack">onaddtrack</a>;
 };
 
 interface <dfn id="audiotrack">AudioTrack</dfn> {
@@ -24443,7 +24445,9 @@
   getter <a href="#videotrack">VideoTrack</a> (unsigned long index);
   <a href="#videotrack">VideoTrack</a>? <a href="#dom-videotracklist-gettrackbyid" title="dom-VideoTrackList-getTrackById">getTrackById</a>(DOMString id);
   readonly attribute long <a href="#dom-videotracklist-selectedindex" title="dom-VideoTrackList-selectedIndex">selectedIndex</a>;
+
   [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-tracklist-onchange" title="handler-TrackList-onchange">onchange</a>;
+  [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-tracklist-onaddtrack" title="handler-TrackList-onaddtrack">onaddtrack</a>;
 };
 
 interface <dfn id="videotrack">VideoTrack</dfn> {
@@ -24751,6 +24755,7 @@
 
   <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-tracklist-onchange" title="handler-TrackList-onchange"><code>onchange</code></dfn> <td> <code title="event-change">change</code>
+    <tr><td><dfn id="handler-tracklist-onaddtrack" title="handler-TrackList-onaddtrack"><code>onaddtrack</code></dfn> <td> <code title="event-addtrack">addtrack</code>
   </table><hr><p>The <a href="#task-source">task source</a> for the <a href="#concept-task" title="concept-task">tasks</a> listed in this section is the
   <a href="#dom-manipulation-task-source">DOM manipulation task source</a>.</p>
 
@@ -25376,9 +25381,11 @@
    reported playback state</a> be <var title="">new playback
    state</var>.</li>
 
-  </ol><hr><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="#mediacontroller">MediaController</a></code> interface:</p>
+  </ol><hr><p>The following are the <a href="#event-handlers">event handlers</a> (and their
+  corresponding <a href="#event-handler-event-type" title="event handler event type">event handler
+  event types</a>) that must be supported, as IDL attributes, by
+  all objects implementing the <code><a href="#mediacontroller">MediaController</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-mediacontroller-onemptied" title="handler-MediaController-onemptied"><code>onemptied</code></dfn> <td> <code title="event-MediaController-emptied"><a href="#event-mediacontroller-emptied">emptied</a></code>
@@ -26151,6 +26158,8 @@
   </ol></div><h6 id="text-track-api"><span class="secno">4.8.10.12.4 </span>Text track API</h6><pre class="idl">interface <dfn id="texttracklist">TextTrackList</dfn> {
   readonly attribute unsigned long <a href="#dom-texttracklist-length" title="dom-TextTrackList-length">length</a>;
   getter <a href="#texttrack">TextTrack</a> (unsigned long index);
+
+  [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-texttracklist-onaddtrack" title="handler-TextTrackList-onaddtrack">onaddtrack</a>;
 };</pre><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-textTracks"><a href="#dom-media-texttracks">textTracks</a></code> . <code title="">length</code></dt>
    <dd>
     <p>Returns the number of <a href="#text-track" title="text track">text tracks</a> associated with the <a href="#media-element">media element</a> (e.g. from <code><a href="#the-track-element">track</a></code> elements). This is the number of <a href="#text-track" title="text track">text tracks</a> in the <a href="#media-element">media element</a>'s <a href="#list-of-text-tracks">list of text tracks</a>.</p>
@@ -26784,17 +26793,27 @@
 
   <h6 id="cue-events"><span class="secno">4.8.10.12.6 </span>Event definitions</h6>
 
-  <p>The following are the <a href="#event-handlers">event handlers</a> that must be
+  <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 objects implementing the
-  <code><a href="#texttrack">TextTrack</a></code> interface:</p>
+  <code><a href="#texttracklist">TextTrackList</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-texttracklist-onaddtrack" title="handler-TextTrackList-onaddtrack"><code>onaddtrack</code></dfn> <td> <code title="event-addtrack">addtrack</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
+  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>
-  </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="#texttrackcue">TextTrackCue</a></code> interface:</p>
+  </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
+  objects implementing the <code><a href="#texttrackcue">TextTrackCue</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-texttrackcue-onenter" title="handler-TextTrackCue-onenter"><code>onenter</code></dfn> <td> <code title="event-enter">enter</code>

Received on Friday, 30 September 2011 23:15:13 UTC