[html5] r6607 - [giow] (0) Add onaddtrack to all the TrackList interfaces. Also, make the text t [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Sep 30 16:12:06 PDT 2011
Author: ianh
Date: 2011-09-30 16:12:04 -0700 (Fri, 30 Sep 2011)
New Revision: 6607
Modified:
complete.html
index
source
Log:
[giow] (0) Add onaddtrack to all the TrackList interfaces. Also, make the text that introduces event handler IDL attributes more consistent across the spec.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13358
Modified: complete.html
===================================================================
--- complete.html 2011-09-30 23:03:12 UTC (rev 6606)
+++ complete.html 2011-09-30 23:12:04 UTC (rev 6607)
@@ -29272,7 +29272,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> {
@@ -29288,7 +29290,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> {
@@ -29600,6 +29604,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>
@@ -30292,9 +30297,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>
@@ -31280,6 +31287,8 @@
<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>
@@ -32189,17 +32198,27 @@
<h6 id=cue-events><span class=secno>4.8.10.12.7 </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>
@@ -80667,9 +80686,10 @@
</dd>
- </dl><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=#websocket>WebSocket</a></code> interface:</p>
+ </dl><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=#websocket>WebSocket</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-websocket-onopen title=handler-WebSocket-onopen><code>onopen</code></dfn> <td> <code title=event-open>open</code>
Modified: index
===================================================================
--- index 2011-09-30 23:03:12 UTC (rev 6606)
+++ index 2011-09-30 23:12:04 UTC (rev 6607)
@@ -29139,7 +29139,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> {
@@ -29155,7 +29157,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> {
@@ -29467,6 +29471,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>
@@ -30159,9 +30164,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>
@@ -31147,6 +31154,8 @@
<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>
@@ -32056,17 +32065,27 @@
<h6 id=cue-events><span class=secno>4.8.10.12.7 </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>
Modified: source
===================================================================
--- source 2011-09-30 23:03:12 UTC (rev 6606)
+++ source 2011-09-30 23:12:04 UTC (rev 6607)
@@ -31842,7 +31842,9 @@
readonly attribute unsigned long <span title="dom-AudioTrackList-length">length</span>;
getter <span>AudioTrack</span> (unsigned long index);
<span>AudioTrack</span>? <span title="dom-AudioTrackList-getTrackById">getTrackById</span>(DOMString id);
+
[TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-TrackList-onchange">onchange</span>;
+ [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-TrackList-onaddtrack">onaddtrack</span>;
};
interface <dfn>AudioTrack</dfn> {
@@ -31858,7 +31860,9 @@
getter <span>VideoTrack</span> (unsigned long index);
<span>VideoTrack</span>? <span title="dom-VideoTrackList-getTrackById">getTrackById</span>(DOMString id);
readonly attribute long <span title="dom-VideoTrackList-selectedIndex">selectedIndex</span>;
+
[TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-TrackList-onchange">onchange</span>;
+ [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-TrackList-onaddtrack">onaddtrack</span>;
};
interface <dfn>VideoTrack</dfn> {
@@ -32215,6 +32219,7 @@
<tr><th><span title="event handlers">Event handler</span> <th><span>Event handler event type</span>
<tbody>
<tr><td><dfn title="handler-TrackList-onchange"><code>onchange</code></dfn> <td> <code title="event-change">change</code>
+ <tr><td><dfn title="handler-TrackList-onaddtrack"><code>onaddtrack</code></dfn> <td> <code title="event-addtrack">addtrack</code>
</table>
<hr>
@@ -33002,9 +33007,11 @@
<hr>
- <p>The following are the <span>event handlers</span> that must be
- supported, as IDL attributes, by all objects implementing the
- <code>MediaController</code> interface:</p>
+ <p>The following are the <span>event handlers</span> (and their
+ corresponding <span title="event handler event type">event handler
+ event types</span>) that must be supported, as IDL attributes, by
+ all objects implementing the <code>MediaController</code>
+ interface:</p>
<table>
<thead>
@@ -34121,6 +34128,8 @@
<pre class="idl">interface <dfn>TextTrackList</dfn> {
readonly attribute unsigned long <span title="dom-TextTrackList-length">length</span>;
getter <span>TextTrack</span> (unsigned long index);
+
+ [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-TextTrackList-onaddtrack">onaddtrack</span>;
};</pre>
<dl class="domintro">
@@ -35153,22 +35162,37 @@
<h6 id="cue-events">Event definitions</h6>
- <p>The following are the <span>event handlers</span> that must be
+ <p>The following are the <span>event handlers</span> that (and their
+ corresponding <span title="event handler event type">event handler
+ event types</span>) must be
supported, as IDL attributes, by all objects implementing the
- <code>TextTrack</code> interface:</p>
+ <code>TextTrackList</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-TextTrackList-onaddtrack"><code>onaddtrack</code></dfn> <td> <code title="event-addtrack">addtrack</code>
+ </table>
+
+ <p>The following are the <span>event handlers</span> that (and their
+ corresponding <span title="event handler event type">event handler
+ event types</span>) must be supported, as IDL attributes, by all
+ objects implementing the <code>TextTrack</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-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>
- <p>The following are the <span>event handlers</span> that must be
- supported, as IDL attributes, by all objects implementing the
- <code>TextTrackCue</code> interface:</p>
+ <p>The following are the <span>event handlers</span> that (and their
+ corresponding <span title="event handler event type">event handler
+ event types</span>) must be supported, as IDL attributes, by all
+ objects implementing the <code>TextTrackCue</code> interface:</p>
<table>
<thead>
@@ -91325,9 +91349,10 @@
<hr>
- <p>The following are the <span>event handlers</span> that must be
- supported, as IDL attributes, by all objects implementing the
- <code>WebSocket</code> interface:</p>
+ <p>The following are the <span>event handlers</span> (and their
+ corresponding <span title="event handler event type">event handler
+ event types</span>) that must be supported, as IDL attributes, by
+ all objects implementing the <code>WebSocket</code> interface:</p>
<table>
<thead>
More information about the Commit-Watchers
mailing list