Skip to content

Commit

Permalink
[giow] (1) Objects with event handler attributes have to inherit from…
Browse files Browse the repository at this point in the history
… EventTarget.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15214
Affected topics: Video Text Tracks, Video and Audio

git-svn-id: http://svn.whatwg.org/webapps@6931 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 28, 2012
1 parent e4b816e commit 7173ea7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions complete.html
Expand Up @@ -30601,7 +30601,7 @@ <h6 id=audiotracklist-and-videotracklist-objects><span class=secno>4.8.10.10.1 <
interfaces are used by attributes defined in the previous
section.</p>

<pre class=idl>interface <dfn id=audiotracklist>AudioTrackList</dfn> {
<pre class=idl>interface <dfn id=audiotracklist>AudioTrackList</dfn> : <a href=#eventtarget>EventTarget</a> {
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);
Expand All @@ -30618,7 +30618,7 @@ <h6 id=audiotracklist-and-videotracklist-objects><span class=secno>4.8.10.10.1 <
attribute boolean <a href=#dom-audiotrack-enabled title=dom-AudioTrack-enabled>enabled</a>;
};

interface <dfn id=videotracklist>VideoTrackList</dfn> {
interface <dfn id=videotracklist>VideoTrackList</dfn> : <a href=#eventtarget>EventTarget</a> {
readonly attribute unsigned long <a href=#dom-videotracklist-length title=dom-VideoTrackList-length>length</a>;
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);
Expand Down Expand Up @@ -32663,7 +32663,7 @@ <h6 id=guidelines-for-exposing-cues-in-various-formats-as-text-track-cues><span

<h6 id=text-track-api><span class=secno>4.8.10.12.5 </span>Text track API</h6>

<pre class=idl>interface <dfn id=texttracklist>TextTrackList</dfn> {
<pre class=idl>interface <dfn id=texttracklist>TextTrackList</dfn> : <a href=#eventtarget>EventTarget</a> {
readonly attribute unsigned long <a href=#dom-texttracklist-length title=dom-TextTrackList-length>length</a>;
getter <a href=#texttrack>TextTrack</a> (unsigned long index);

Expand Down
6 changes: 3 additions & 3 deletions index
Expand Up @@ -30601,7 +30601,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
interfaces are used by attributes defined in the previous
section.</p>

<pre class=idl>interface <dfn id=audiotracklist>AudioTrackList</dfn> {
<pre class=idl>interface <dfn id=audiotracklist>AudioTrackList</dfn> : <a href=#eventtarget>EventTarget</a> {
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);
Expand All @@ -30618,7 +30618,7 @@ interface <dfn id=audiotrack>AudioTrack</dfn> {
attribute boolean <a href=#dom-audiotrack-enabled title=dom-AudioTrack-enabled>enabled</a>;
};

interface <dfn id=videotracklist>VideoTrackList</dfn> {
interface <dfn id=videotracklist>VideoTrackList</dfn> : <a href=#eventtarget>EventTarget</a> {
readonly attribute unsigned long <a href=#dom-videotracklist-length title=dom-VideoTrackList-length>length</a>;
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);
Expand Down Expand Up @@ -32663,7 +32663,7 @@ interface <dfn id=mediacontroller>MediaController</dfn> {

<h6 id=text-track-api><span class=secno>4.8.10.12.5 </span>Text track API</h6>

<pre class=idl>interface <dfn id=texttracklist>TextTrackList</dfn> {
<pre class=idl>interface <dfn id=texttracklist>TextTrackList</dfn> : <a href=#eventtarget>EventTarget</a> {
readonly attribute unsigned long <a href=#dom-texttracklist-length title=dom-TextTrackList-length>length</a>;
getter <a href=#texttrack>TextTrack</a> (unsigned long index);

Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -33368,7 +33368,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
interfaces are used by attributes defined in the previous
section.</p>

<pre class="idl">interface <dfn>AudioTrackList</dfn> {
<pre class="idl">interface <dfn>AudioTrackList</dfn> : <span>EventTarget</span> {
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);
Expand All @@ -33385,7 +33385,7 @@ interface <dfn>AudioTrack</dfn> {
attribute boolean <span title="dom-AudioTrack-enabled">enabled</span>;
};

interface <dfn>VideoTrackList</dfn> {
interface <dfn>VideoTrackList</dfn> : <span>EventTarget</span> {
readonly attribute unsigned long <span title="dom-VideoTrackList-length">length</span>;
getter <span>VideoTrack</span> (unsigned long index);
<span>VideoTrack</span>? <span title="dom-VideoTrackList-getTrackById">getTrackById</span>(DOMString id);
Expand Down Expand Up @@ -35715,7 +35715,7 @@ interface <dfn>MediaController</dfn> {

<h6>Text track API</h6>

<pre class="idl">interface <dfn>TextTrackList</dfn> {
<pre class="idl">interface <dfn>TextTrackList</dfn> : <span>EventTarget</span> {
readonly attribute unsigned long <span title="dom-TextTrackList-length">length</span>;
getter <span>TextTrack</span> (unsigned long index);

Expand Down

0 comments on commit 7173ea7

Please sign in to comment.