Skip to content

Commit

Permalink
[giow] (3) Move onresize from just Window to Window and elements, sin…
Browse files Browse the repository at this point in the history
…ce <video> now uses it

Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@8354 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 13, 2013
1 parent 3e70de8 commit 566b8ed
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 27 deletions.
19 changes: 10 additions & 9 deletions complete.html
Expand Up @@ -10417,6 +10417,7 @@ <h4 id=global-attributes><span class=secno>3.2.5 </span><dfn>Global attributes</
<li><code title=handler-onprogress><a href=#handler-onprogress>onprogress</a></code></li>
<li><code title=handler-onratechange><a href=#handler-onratechange>onratechange</a></code></li>
<li><code title=handler-onreset><a href=#handler-onreset>onreset</a></code></li>
<li><code title=handler-onresize><a href=#handler-onresize>onresize</a></code>*</li>
<li><code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code>*</li>
<li><code title=handler-onseeked><a href=#handler-onseeked>onseeked</a></code></li>
<li><code title=handler-onseeking><a href=#handler-onseeking>onseeking</a></code></li>
Expand Down Expand Up @@ -14003,7 +14004,6 @@ <h4 id=the-body-element><span class=secno>4.3.1 </span>The <dfn><code>body</code
<dd><code title=handler-window-onpagehide><a href=#handler-window-onpagehide>onpagehide</a></code></dd>
<dd><code title=handler-window-onpageshow><a href=#handler-window-onpageshow>onpageshow</a></code></dd>
<dd><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></dd>
<dd><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></dd>
<dd><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></dd>
<dd><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></dd>
<dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
Expand Down Expand Up @@ -14031,8 +14031,9 @@ <h4 id=the-body-element><span class=secno>4.3.1 </span>The <dfn><code>body</code
of the <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors their
<a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>

<!--CLEANUP-->
<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>,
<code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>, and
<code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>, <code title=handler-onresize><a href=#handler-onresize>onresize</a></code>, and
<code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the
<code><a href=#window>Window</a></code> object, exposed on the <code><a href=#the-body-element>body</a></code> element, replace the generic
<a href=#event-handlers>event handlers</a> with the same names normally supported by <a href=#html-elements>HTML
Expand Down Expand Up @@ -71766,6 +71767,7 @@ <h5 id=event-handlers-on-elements,-document-objects,-and-window-objects><span cl
<tr><td><dfn id=handler-onerror title=handler-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
<tr><td><dfn id=handler-onfocus title=handler-onfocus><code>onfocus</code></dfn> <td> <code title=event-focus>focus</code> <!-- widely used -->
<tr><td><dfn id=handler-onload title=handler-onload><code>onload</code></dfn> <td> <code title=event-load>load</code>
<tr><td><dfn id=handler-onresize title=handler-onresize><code>onresize</code></dfn> <td> <code title=event-resize>resize</code>
<tr><td><dfn id=handler-onscroll title=handler-onscroll><code>onscroll</code></dfn> <td> <code title=event-scroll>scroll</code>
</table><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>) <span class=impl>that must be</span>
Expand All @@ -71786,7 +71788,6 @@ <h5 id=event-handlers-on-elements,-document-objects,-and-window-objects><span cl
<tr><td><dfn id=handler-window-onpagehide title=handler-window-onpagehide><code>onpagehide</code></dfn> <td> <code title=event-pagehide><a href=#event-pagehide>pagehide</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onpageshow title=handler-window-onpageshow><code>onpageshow</code></dfn> <td> <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onpopstate title=handler-window-onpopstate><code>onpopstate</code></dfn> <td> <code title=event-popstate><a href=#event-popstate>popstate</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onresize title=handler-window-onresize><code>onresize</code></dfn> <td> <code title=event-resize>resize</code> <!-- widely used --> <!-- [CSSOM] -->
<tr><td><dfn id=handler-window-onstorage title=handler-window-onstorage><code>onstorage</code></dfn> <td> <code title=event-storage><a href=#event-storage>storage</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onunload title=handler-window-onunload><code>onunload</code></dfn> <td> <code title=event-unload>unload</code> <!-- widely used -->
</table><hr><!-- this guy is only on Document and not on HTMLElement because otherwise HTMLScriptElement would
Expand Down Expand Up @@ -71852,6 +71853,7 @@ <h5 id=event-handlers-on-elements,-document-objects,-and-window-objects><span cl
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onprogress title=handler-onprogress>onprogress</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onratechange title=handler-onratechange>onratechange</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onreset title=handler-onreset>onreset</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onresize title=handler-onresize>onresize</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onscroll title=handler-onscroll>onscroll</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onseeked title=handler-onseeked>onseeked</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onseeking title=handler-onseeking>onseeking</a>;
Expand Down Expand Up @@ -71879,7 +71881,6 @@ <h5 id=event-handlers-on-elements,-document-objects,-and-window-objects><span cl
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onpagehide title=handler-window-onpagehide>onpagehide</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onpageshow title=handler-window-onpageshow>onpageshow</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onpopstate title=handler-window-onpopstate>onpopstate</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onresize title=handler-window-onresize>onresize</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onstorage title=handler-window-onstorage>onstorage</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
};</pre>
Expand Down Expand Up @@ -96649,7 +96650,8 @@ <h4 id=frames><span class=secno>15.3.3 </span>Frames</h4>
handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors
their <a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>

<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>, <code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>,
<!--CLEANUP-->
<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>, <code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>, <code title=handler-onresize><a href=#handler-onresize>onresize</a></code>,
and <code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the
<code><a href=#window>Window</a></code> object, exposed on the <code><a href=#frameset>frameset</a></code> element, replace the generic
<a href=#event-handlers>event handlers</a> with the same names normally supported by <a href=#html-elements>HTML elements</a>.</p>
Expand Down Expand Up @@ -98216,7 +98218,6 @@ <h3 class=no-num id=elements-1>Elements</h3>
<code title=handler-window-onpagehide><a href=#handler-window-onpagehide>onpagehide</a></code>;
<code title=handler-window-onpageshow><a href=#handler-window-onpageshow>onpageshow</a></code>;
<code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code>;
<code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code>;
<code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code>;
<code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></td>
<td><code><a href=#htmlbodyelement>HTMLBodyElement</a></code></td>
Expand Down Expand Up @@ -100798,9 +100799,9 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<td> <code title=event-reset>reset</code> event handler
<td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>

<tr><th id=ix-handler-window-onresize> <code title="">onresize</code>
<td> <code title=handler-window-onresize><a href=#handler-window-onresize>body</a></code>
<td> <code title=event-resize>resize</code> event handler for <code><a href=#window>Window</a></code> object
<tr><th id=ix-handler-onresize> <code title="">onresize</code>
<td> <code title=handler-onresize><a href=#handler-onresize>body</a></code>
<td> <code title=event-resize>resize</code> event handler
<td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>

<tr><th id=ix-handler-onscroll> <code title="">onscroll</code>
Expand Down
19 changes: 10 additions & 9 deletions index
Expand Up @@ -10417,6 +10417,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code title=handler-onprogress><a href=#handler-onprogress>onprogress</a></code></li>
<li><code title=handler-onratechange><a href=#handler-onratechange>onratechange</a></code></li>
<li><code title=handler-onreset><a href=#handler-onreset>onreset</a></code></li>
<li><code title=handler-onresize><a href=#handler-onresize>onresize</a></code>*</li>
<li><code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code>*</li>
<li><code title=handler-onseeked><a href=#handler-onseeked>onseeked</a></code></li>
<li><code title=handler-onseeking><a href=#handler-onseeking>onseeking</a></code></li>
Expand Down Expand Up @@ -14003,7 +14004,6 @@ c-end = "--&gt;"</pre>
<dd><code title=handler-window-onpagehide><a href=#handler-window-onpagehide>onpagehide</a></code></dd>
<dd><code title=handler-window-onpageshow><a href=#handler-window-onpageshow>onpageshow</a></code></dd>
<dd><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></dd>
<dd><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></dd>
<dd><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></dd>
<dd><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></dd>
<dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
Expand Down Expand Up @@ -14031,8 +14031,9 @@ c-end = "--&gt;"</pre>
of the <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors their
<a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>

<!--CLEANUP-->
<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>,
<code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>, and
<code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>, <code title=handler-onresize><a href=#handler-onresize>onresize</a></code>, and
<code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the
<code><a href=#window>Window</a></code> object, exposed on the <code><a href=#the-body-element>body</a></code> element, replace the generic
<a href=#event-handlers>event handlers</a> with the same names normally supported by <a href=#html-elements>HTML
Expand Down Expand Up @@ -71766,6 +71767,7 @@ typedef <a href=#onbeforeunloadeventhandlernonnull>OnBeforeUnloadEventHandlerNon
<tr><td><dfn id=handler-onerror title=handler-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
<tr><td><dfn id=handler-onfocus title=handler-onfocus><code>onfocus</code></dfn> <td> <code title=event-focus>focus</code> <!-- widely used -->
<tr><td><dfn id=handler-onload title=handler-onload><code>onload</code></dfn> <td> <code title=event-load>load</code>
<tr><td><dfn id=handler-onresize title=handler-onresize><code>onresize</code></dfn> <td> <code title=event-resize>resize</code>
<tr><td><dfn id=handler-onscroll title=handler-onscroll><code>onscroll</code></dfn> <td> <code title=event-scroll>scroll</code>
</table><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>) <span class=impl>that must be</span>
Expand All @@ -71786,7 +71788,6 @@ typedef <a href=#onbeforeunloadeventhandlernonnull>OnBeforeUnloadEventHandlerNon
<tr><td><dfn id=handler-window-onpagehide title=handler-window-onpagehide><code>onpagehide</code></dfn> <td> <code title=event-pagehide><a href=#event-pagehide>pagehide</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onpageshow title=handler-window-onpageshow><code>onpageshow</code></dfn> <td> <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onpopstate title=handler-window-onpopstate><code>onpopstate</code></dfn> <td> <code title=event-popstate><a href=#event-popstate>popstate</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onresize title=handler-window-onresize><code>onresize</code></dfn> <td> <code title=event-resize>resize</code> <!-- widely used --> <!-- [CSSOM] -->
<tr><td><dfn id=handler-window-onstorage title=handler-window-onstorage><code>onstorage</code></dfn> <td> <code title=event-storage><a href=#event-storage>storage</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onunload title=handler-window-onunload><code>onunload</code></dfn> <td> <code title=event-unload>unload</code> <!-- widely used -->
</table><hr><!-- this guy is only on Document and not on HTMLElement because otherwise HTMLScriptElement would
Expand Down Expand Up @@ -71852,6 +71853,7 @@ interface <dfn id=globaleventhandlers>GlobalEventHandlers</dfn> {
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onprogress title=handler-onprogress>onprogress</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onratechange title=handler-onratechange>onratechange</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onreset title=handler-onreset>onreset</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onresize title=handler-onresize>onresize</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onscroll title=handler-onscroll>onscroll</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onseeked title=handler-onseeked>onseeked</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onseeking title=handler-onseeking>onseeking</a>;
Expand Down Expand Up @@ -71879,7 +71881,6 @@ interface <dfn id=windoweventhandlers>WindowEventHandlers</dfn> {
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onpagehide title=handler-window-onpagehide>onpagehide</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onpageshow title=handler-window-onpageshow>onpageshow</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onpopstate title=handler-window-onpopstate>onpopstate</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onresize title=handler-window-onresize>onresize</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onstorage title=handler-window-onstorage>onstorage</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
};</pre>
Expand Down Expand Up @@ -96649,7 +96650,8 @@ if (s = prompt('What is your name?')) {
handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors
their <a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>

<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>, <code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>,
<!--CLEANUP-->
<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>, <code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>, <code title=handler-onresize><a href=#handler-onresize>onresize</a></code>,
and <code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the
<code><a href=#window>Window</a></code> object, exposed on the <code><a href=#frameset>frameset</a></code> element, replace the generic
<a href=#event-handlers>event handlers</a> with the same names normally supported by <a href=#html-elements>HTML elements</a>.</p>
Expand Down Expand Up @@ -98216,7 +98218,6 @@ if (s = prompt('What is your name?')) {
<code title=handler-window-onpagehide><a href=#handler-window-onpagehide>onpagehide</a></code>;
<code title=handler-window-onpageshow><a href=#handler-window-onpageshow>onpageshow</a></code>;
<code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code>;
<code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code>;
<code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code>;
<code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></td>
<td><code><a href=#htmlbodyelement>HTMLBodyElement</a></code></td>
Expand Down Expand Up @@ -100798,9 +100799,9 @@ if (s = prompt('What is your name?')) {
<td> <code title=event-reset>reset</code> event handler
<td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>

<tr><th id=ix-handler-window-onresize> <code title="">onresize</code>
<td> <code title=handler-window-onresize><a href=#handler-window-onresize>body</a></code>
<td> <code title=event-resize>resize</code> event handler for <code><a href=#window>Window</a></code> object
<tr><th id=ix-handler-onresize> <code title="">onresize</code>
<td> <code title=handler-onresize><a href=#handler-onresize>body</a></code>
<td> <code title=event-resize>resize</code> event handler
<td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>

<tr><th id=ix-handler-onscroll> <code title="">onscroll</code>
Expand Down

0 comments on commit 566b8ed

Please sign in to comment.