Skip to content

Commit

Permalink
[agiow] (2) body.onscroll maps to window.onscroll
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10832

git-svn-id: http://svn.whatwg.org/webapps@5581 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 5, 2010
1 parent a806d27 commit 5f31c0f
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 20 deletions.
23 changes: 17 additions & 6 deletions complete.html
Expand Up @@ -9304,7 +9304,7 @@ <h4 id=global-attributes><span class=secno>3.2.3 </span><dfn>Global attributes</
<li><code title=handler-onratechange><a href=#handler-onratechange>onratechange</a></code></li>
<li><code title=handler-onreadystatechange><a href=#handler-onreadystatechange>onreadystatechange</a></code></li>
<li><code title=handler-onreset><a href=#handler-onreset>onreset</a></code></li>
<li><code title=handler-onscroll><a href=#handler-onscroll>onscroll</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>
<li><code title=handler-onselect><a href=#handler-onselect>onselect</a></code></li>
Expand Down Expand Up @@ -15222,6 +15222,7 @@ <h4 id=the-body-element-0><span class=secno>4.4.1 </span>The <dfn><code>body</co
<dd><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></dd>
<dd><code title=handler-window-onredo><a href=#handler-window-onredo>onredo</a></code></dd>
<dd><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></dd>
<dd><code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code></dd>
<dd><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></dd>
<dd><code title=handler-window-onundo><a href=#handler-window-onundo>onundo</a></code></dd>
<dd><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></dd>
Expand All @@ -15244,6 +15245,7 @@ <h4 id=the-body-element-0><span class=secno>4.4.1 </span>The <dfn><code>body</co
attribute <a href=#function>Function</a> <a href=#handler-window-onpageshow title=handler-window-onpageshow>onpageshow</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onredo title=handler-window-onredo>onredo</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onresize title=handler-window-onresize>onresize</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onscroll title=handler-window-onscroll>onscroll</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onstorage title=handler-window-onstorage>onstorage</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onundo title=handler-window-onundo>onundo</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
Expand Down Expand Up @@ -15272,7 +15274,7 @@ <h4 id=the-body-element-0><span class=secno>4.4.1 </span>The <dfn><code>body</co
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-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, and <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code> <a href=#event-handlers>event
<p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>, and <code title=handler-window-onscroll><a href=#handler-window-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-0>body</a></code> element, shadow 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 @@ -65252,7 +65254,6 @@ <h5 id=event-handlers-on-elements,-document-objects,-and-window-objects><span cl
<tr><td><dfn id=handler-onratechange title=handler-onratechange><code>onratechange</code></dfn> <td> <code title=event-media-ratechange><a href=#event-media-ratechange>ratechange</a></code>
<tr><td><dfn id=handler-onreadystatechange title=handler-onreadystatechange><code>onreadystatechange</code></dfn> <td> <code title=event-readystatechange><a href=#event-readystatechange>readystatechange</a></code>
<tr><td><dfn id=handler-onreset title=handler-onreset><code>onreset</code></dfn> <td> <code title=event-reset>reset</code>
<tr><td><dfn id=handler-onscroll title=handler-onscroll><code>onscroll</code></dfn> <td> <code title=event-scroll>scroll</code> <!-- widely used --> <!-- [CSSOM] -->
<tr><td><dfn id=handler-onseeked title=handler-onseeked><code>onseeked</code></dfn> <td> <code title=event-media-seeked><a href=#event-media-seeked>seeked</a></code>
<tr><td><dfn id=handler-onseeking title=handler-onseeking><code>onseeking</code></dfn> <td> <code title=event-media-seeking><a href=#event-media-seeking>seeking</a></code>
<tr><td><dfn id=handler-onselect title=handler-onselect><code>onselect</code></dfn> <td> <code title=event-select>select</code> <!-- widely used --> <!-- [CSSOM] -->
Expand Down Expand Up @@ -65282,6 +65283,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-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>) that must be supported by <code><a href=#window>Window</a></code>
Expand All @@ -65306,6 +65308,7 @@ <h5 id=event-handlers-on-elements,-document-objects,-and-window-objects><span cl
<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-onredo title=handler-window-onredo><code>onredo</code></dfn> <td> <code title=event-redo><a href=#event-redo>redo</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-onscroll title=handler-window-onscroll><code>onscroll</code></dfn> <td> <code title=event-scroll>scroll</code>
<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-onundo title=handler-window-onundo><code>onundo</code></dfn> <td> <code title=event-undo><a href=#event-undo>undo</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 -->
Expand Down Expand Up @@ -88440,6 +88443,7 @@ <h4 id=frames><span class=secno>15.3.3 </span>Frames</h4>
attribute <a href=#function>Function</a> <a href=#handler-window-onpopstate title=handler-window-onpopstate>onpopstate</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onredo title=handler-window-onredo>onredo</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onresize title=handler-window-onresize>onresize</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onscroll title=handler-window-onscroll>onscroll</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onstorage title=handler-window-onstorage>onstorage</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onundo title=handler-window-onundo>onundo</a>;
attribute <a href=#function>Function</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
Expand Down Expand Up @@ -88471,16 +88475,17 @@ <h4 id=frames><span class=secno>15.3.3 </span>Frames</h4>
<li><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></li>
<li><code title=handler-window-onredo><a href=#handler-window-onredo>onredo</a></code></li>
<li><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></li>
<li><code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code></li>
<li><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></li>
<li><code title=handler-window-onundo><a href=#handler-window-onundo>onundo</a></code></li>
<li><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></li>
</ul><p>The DOM interface also exposes <a href=#event-handler-idl-attributes>event handler IDL
attributes</a> that mirror those on the <code><a href=#window>Window</a></code>
element.</p>

<p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, and <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code> <a href=#event-handler-idl-attributes>event handler IDL
attributes</a> of the <code><a href=#window>Window</a></code> object, exposed on the
<code><a href=#frameset>frameset</a></code> element, shadow the generic <a href=#event-handler-idl-attributes>event
<p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>, and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handler-idl-attributes>event handler
IDL attributes</a> of the <code><a href=#window>Window</a></code> object, exposed on
the <code><a href=#frameset>frameset</a></code> element, shadow the generic <a href=#event-handler-idl-attributes>event
handler IDL attributes</a> with the same names normally supported
by <a href=#html-elements>HTML elements</a>.</p>

Expand Down Expand Up @@ -90051,6 +90056,7 @@ <h3 class=no-num id=elements-1>Elements</h3>
<code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code>;
<code title=handler-window-onredo><a href=#handler-window-onredo>onredo</a></code>;
<code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code>;
<code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code>;
<code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code>;
<code title=handler-window-onundo><a href=#handler-window-onundo>onundo</a></code>;
<code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></td>
Expand Down Expand Up @@ -92348,6 +92354,11 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<td> <code title=event-resize>resize</code> event handler for <code><a href=#window>Window</a></code> object
<td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>

<tr><th id=ix-handler-window-onscroll> <code title="">onscroll</code>
<td> <code title=handler-window-onscroll><a href=#handler-window-onscroll>body</a></code>
<td> <code title=event-scroll>scroll</code> event handler for <code><a href=#window>Window</a></code> object
<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>
<td> <a href=#handler-onscroll title=handler-onscroll>HTML elements</a>
<td> <code title=event-scroll>scroll</code> event handler
Expand Down

0 comments on commit 5f31c0f

Please sign in to comment.