- From: poot <cvsmail@w3.org>
- Date: Fri, 05 Aug 2011 19:44:12 -0400
- To: public-html-diffs@w3.org
hixie: Move the Web to a world where things that implement EventTarget just inherit from it. I, for one, now welcome our new EventTarget overlords. (whatwg r6378) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5091&r2=1.5092&f=h http://html5.org/tools/web-apps-tracker?from=6377&to=6378 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5091 retrieving revision 1.5092 diff -u -d -r1.5091 -r1.5092 --- Overview.html 5 Aug 2011 15:33:06 -0000 1.5091 +++ Overview.html 5 Aug 2011 23:43:55 -0000 1.5092 @@ -26076,7 +26076,7 @@ element</a>'s <a href="#list-of-text-tracks">list of text tracks</a>, in the same order as in the <a href="#list-of-text-tracks">list of text tracks</a>.</p> - </div><hr><pre class="idl">interface <dfn id="texttrack">TextTrack</dfn> { + </div><hr><pre class="idl">interface <dfn id="texttrack">TextTrack</dfn> : <a href="#eventtarget">EventTarget</a> { readonly attribute DOMString <a href="#dom-texttrack-kind" title="dom-TextTrack-kind">kind</a>; 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>; @@ -26099,7 +26099,6 @@ attribute <a href="#function">Function</a>? <a href="#handler-texttrack-oncuechange" title="handler-TextTrack-oncuechange">oncuechange</a>; }; -<a href="#texttrack">TextTrack</a> implements <a href="#eventtarget">EventTarget</a>; typedef <a href="#texttrack">TextTrack</a>[] <dfn id="texttracklist">TextTrackList</dfn>;</pre><dl class="domintro"><dt><var title="">textTrack</var> . <code title="dom-TextTrack-kind"><a href="#dom-texttrack-kind">kind</a></code></dt> <dd> @@ -26483,7 +26482,7 @@ return null.</p> </div><hr><pre class="idl"> -interface <dfn id="texttrackcue">TextTrackCue</dfn> { +interface <dfn id="texttrackcue">TextTrackCue</dfn> : <a href="#eventtarget">EventTarget</a> { readonly attribute <a href="#texttrack">TextTrack</a>? <a href="#dom-texttrackcue-track" title="dom-TextTrackCue-track">track</a>; readonly attribute DOMString <a href="#dom-texttrackcue-id" title="dom-TextTrackCue-id">id</a>; @@ -26497,8 +26496,7 @@ attribute <a href="#function">Function</a>? <a href="#handler-texttrackcue-onenter" title="handler-TextTrackCue-onenter">onenter</a>; attribute <a href="#function">Function</a>? <a href="#handler-texttrackcue-onexit" title="handler-TextTrackCue-onexit">onexit</a>; -}; -<a href="#texttrackcue">TextTrackCue</a> implements <a href="#eventtarget">EventTarget</a>;</pre><dl class="domintro"><dt><var title="">cue</var> . <a href="#dom-texttrackcue-track" title="dom-TextTrackCue-track">track</a></dt> +};</pre><dl class="domintro"><dt><var title="">cue</var> . <a href="#dom-texttrackcue-track" title="dom-TextTrackCue-track">track</a></dt> <dd> <p>Returns the <code><a href="#texttrack">TextTrack</a></code> object to which this <a href="#text-track-cue">text track cue</a> belongs, if any, or null @@ -43390,7 +43388,7 @@ </li> </ol></div><h3 id="the-window-object"><span class="secno">5.2 </span>The <code><a href="#window">Window</a></code> object</h3><pre class="idl">[ReplaceableNamedProperties] -interface <dfn id="window">Window</dfn> { +interface <dfn id="window">Window</dfn> : <a href="#eventtarget">EventTarget</a> { // the current browsing context readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-window" title="dom-window">window</a>; readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-self" title="dom-self">self</a>; @@ -43502,8 +43500,7 @@ attribute <a href="#function">Function</a>? <a href="#handler-window-onunload" title="handler-window-onunload">onunload</a>; attribute <a href="#function">Function</a>? <a href="#handler-onvolumechange" title="handler-onvolumechange">onvolumechange</a>; attribute <a href="#function">Function</a>? <a href="#handler-onwaiting" title="handler-onwaiting">onwaiting</a>; -}; -<a href="#window">Window</a> implements <a href="#eventtarget">EventTarget</a>;</pre><dl class="domintro"><dt><var title="">window</var> . <code title="dom-window"><a href="#dom-window">window</a></code></dt> +};</pre><dl class="domintro"><dt><var title="">window</var> . <code title="dom-window"><a href="#dom-window">window</a></code></dt> <dt><var title="">window</var> . <code title="dom-frames"><a href="#dom-frames">frames</a></code></dt> <dt><var title="">window</var> . <code title="dom-self"><a href="#dom-self">self</a></code></dt> @@ -48398,7 +48395,7 @@ having an explicit whitelist in the user agent's configuration interface.</p> - </div><h4 id="application-cache-api"><span class="secno">5.6.9 </span>Application cache API</h4><pre class="idl">interface <dfn id="applicationcache">ApplicationCache</dfn> { + </div><h4 id="application-cache-api"><span class="secno">5.6.9 </span>Application cache API</h4><pre class="idl">interface <dfn id="applicationcache">ApplicationCache</dfn> : <a href="#eventtarget">EventTarget</a> { // <a href="#concept-appcache-status" title="concept-appcache-status">update status</a> const unsigned short <a href="#dom-appcache-uncached" title="dom-appcache-UNCACHED">UNCACHED</a> = 0; @@ -48423,8 +48420,7 @@ attribute <a href="#function">Function</a>? <a href="#handler-appcache-onupdateready" title="handler-appcache-onupdateready">onupdateready</a>; attribute <a href="#function">Function</a>? <a href="#handler-appcache-oncached" title="handler-appcache-oncached">oncached</a>; attribute <a href="#function">Function</a>? <a href="#handler-appcache-onobsolete" title="handler-appcache-onobsolete">onobsolete</a>; -}; -<a href="#applicationcache">ApplicationCache</a> implements <a href="#eventtarget">EventTarget</a>;</pre><dl class="domintro"><dt><var title="">cache</var> = <var title="">window</var> . <code title="dom-applicationCache"><a href="#dom-applicationcache">applicationCache</a></code></dt> +};</pre><dl class="domintro"><dt><var title="">cache</var> = <var title="">window</var> . <code title="dom-applicationCache"><a href="#dom-applicationcache">applicationCache</a></code></dt> <dd> <p>(In a window.) Returns the <code><a href="#applicationcache">ApplicationCache</a></code> object that applies to the <a href="#active-document">active document</a> of that <code><a href="#window">Window</a></code>.</p>
Received on Friday, 5 August 2011 23:44:18 UTC