[html5] r7638 - [e] (0) Factor out some common event handler declarations in IDL. Affected topic [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 7 15:45:51 PST 2013


Author: ianh
Date: 2013-01-07 15:45:50 -0800 (Mon, 07 Jan 2013)
New Revision: 7638

Modified:
   complete.html
   index
   source
Log:
[e] (0) Factor out some common event handler declarations in IDL.
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2013-01-05 19:58:15 UTC (rev 7637)
+++ complete.html	2013-01-07 23:45:50 UTC (rev 7638)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 5 January 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 7 January 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -964,7 +964,9 @@
      <li><a href=#events><span class=secno>7.1.6 </span>Events</a>
       <ol>
        <li><a href=#event-handler-attributes><span class=secno>7.1.6.1 </span>Event handlers</a></li>
-       <li><a href=#event-handlers-on-elements,-document-objects,-and-window-objects><span class=secno>7.1.6.2 </span>Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects</a></li>
+       <li><a href=#event-handlers-on-elements,-document-objects,-and-window-objects><span class=secno>7.1.6.2 </span>Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects</a>
+        <ol>
+         <li><a href=#idl-definitions><span class=secno>7.1.6.2.1 </span>IDL definitions</a></ol></li>
        <li><a href=#event-firing><span class=secno>7.1.6.3 </span>Event firing</a></li>
        <li><a href=#events-and-the-window-object><span class=secno>7.1.6.4 </span>Events and the <code>Window</code> object</a></ol></ol></li>
    <li><a href=#atob><span class=secno>7.2 </span>Base64 utility methods</a></li>
@@ -9627,67 +9629,11 @@
   DOMString <a href=#dom-document-querycommandvalue title=dom-document-queryCommandValue>queryCommandValue</a>(DOMString commandId);
   readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-commands title=dom-document-commands>commands</a>;
 
-  // <a href=#event-handler-idl-attributes>event handler IDL attributes</a>
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onblur title=handler-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-onerror title=handler-onerror>onerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onfocus title=handler-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onload title=handler-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
-           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-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>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsubmit title=handler-onsubmit>onsubmit</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
-
   // special <a href=#event-handler-idl-attributes>event handler IDL attributes</a> that only apply to Document objects
   [LenientThis] attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onreadystatechange title=handler-onreadystatechange>onreadystatechange</a>;
-};</pre>
+};
+<a href=#document>Document</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
+<a href=#document>Document</a> implements <a href=#nodeeventhandlers>NodeEventHandlers</a>;</pre>
 
 
 <!--ADD-TOPIC:Security-->
@@ -10636,65 +10582,9 @@
 
   // styling
   [PutForwards=<a href=#dom-cssstyledeclaration-csstext title=dom-CSSStyleDeclaration-cssText>cssText</a>] readonly attribute <a href=#cssstyledeclaration>CSSStyleDeclaration</a> <a href=#dom-style title=dom-style>style</a>;
-
-  // <a href=#event-handler-idl-attributes>event handler IDL attributes</a>
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onblur title=handler-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-onerror title=handler-onerror>onerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onfocus title=handler-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onload title=handler-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
-           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-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>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsubmit title=handler-onsubmit>onsubmit</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
 };
+<a href=#htmlelement>HTMLElement</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
+<a href=#htmlelement>HTMLElement</a> implements <a href=#nodeeventhandlers>NodeEventHandlers</a>;
 
 interface <dfn id=htmlunknownelement>HTMLUnknownElement</dfn> : <a href=#htmlelement>HTMLElement</a> { };</pre>
 
@@ -17169,27 +17059,8 @@
    <dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class=idl>interface <dfn id=htmlbodyelement>HTMLBodyElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</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-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-onresize title=handler-window-onresize>onresize</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onscroll title=handler-window-onscroll>onscroll</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>
+};
+<a href=#htmlbodyelement>HTMLBodyElement</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;</pre>
 </dd>
   </dl><!--TOPIC:HTML--><p>The <code><a href=#the-body-element>body</a></code> element <a href=#represents>represents</a> the main
   content of the document.</p>
@@ -66893,79 +66764,10 @@
   any <a href=#dom-showmodaldialog title=dom-showModalDialog>showModalDialog</a>(DOMString url, optional any argument<!--, optional DOMString features-->);
 
   void <a href=#dom-window-postmessage title=dom-window-postMessage>postMessage</a>(any message, DOMString targetOrigin, optional sequence<<a href=#transferable>Transferable</a>> transfer);
-  // <a href=#event-handler-idl-attributes>event handler IDL attributes</a>
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
-           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-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-window-onresize title=handler-window-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>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</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-onsubmit title=handler-onsubmit>onsubmit</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
-};</pre>
+};
+<a href=#window>Window</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
+<a href=#window>Window</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;
+<a href=#window>Window</a> implements <a href=#shadowingwindoweventhandlers>ShadowingWindowEventHandlers</a>;</pre>
 
 <!-- for more features to add here, look here:
  http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
@@ -74415,8 +74217,105 @@
 
   <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-onreadystatechange title=handler-onreadystatechange><code>onreadystatechange</code></dfn> <td> <code title=event-readystatechange><a href=#event-readystatechange>readystatechange</a></code>
-  </table><div class=impl>
+  </table><h6 id=idl-definitions><span class=secno>7.1.6.2.1 </span>IDL definitions</h6>
 
+  <pre class=idl>[NoInterfaceObject]
+interface <dfn id=globaleventhandlers>GlobalEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
+           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-onseeked title=handler-onseeked>onseeked</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onseeking title=handler-onseeking>onseeking</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsubmit title=handler-onsubmit>onsubmit</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
+};
+
+[NoInterfaceObject]
+interface <dfn id=nodeeventhandlers>NodeEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onblur title=handler-onblur>onblur</a>;
+           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-onerror title=handler-onerror>onerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onfocus title=handler-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onload title=handler-onload>onload</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onscroll title=handler-onscroll>onscroll</a>;
+};
+
+[NoInterfaceObject]
+interface <dfn id=windoweventhandlers>WindowEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
+           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</a>;
+           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>;
+};
+
+[NoInterfaceObject]
+interface <dfn id=shadowingwindoweventhandlers>ShadowingWindowEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
+//         attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onscroll title=handler-window-onscroll>onscroll</a>;
+};</pre>
+
+
+
+  <div class=impl>
+
   <h5 id=event-firing><span class=secno>7.1.6.3 </span>Event firing</h5>
 
   <p>Certain operations and methods are defined as firing events on
@@ -99487,27 +99386,8 @@
   <pre class=idl>interface <dfn id=htmlframesetelement>HTMLFrameSetElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute DOMString <a href=#dom-frameset-cols title=dom-frameset-cols>cols</a>;
            attribute DOMString <a href=#dom-frameset-rows title=dom-frameset-rows>rows</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</a>;
-           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-onscroll title=handler-window-onscroll>onscroll</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>
+};
+<a href=#htmlframesetelement>HTMLFrameSetElement</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;</pre>
 
   <p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL attributes of the <code><a href=#frameset>frameset</a></code>
   element must <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>
@@ -104149,6 +104029,7 @@
    <li><code><a href=#eventsource>EventSource</a></code>
    <li><code><a href=#external>External</a></code>
    <li><code><a href=#functionstringcallback>FunctionStringCallback</a></code>
+   <li><code><a href=#globaleventhandlers>GlobalEventHandlers</a></code>
    <li><code><a href=#htmlallcollection>HTMLAllCollection</a></code>
    <li><code><a href=#htmlanchorelement>HTMLAnchorElement</a></code>
    <li><code><a href=#htmlappletelement>HTMLAppletElement</a></code>
@@ -104244,12 +104125,14 @@
    <li><code><a href=#navigatorlanguage>NavigatorLanguage</a></code>
    <li><code><a href=#navigatoronline>NavigatorOnLine</a></code>
    <li><code><a href=#navigatorstorageutils>NavigatorStorageUtils</a></code>
+   <li><code><a href=#nodeeventhandlers>NodeEventHandlers</a></code>
    <li><code><a href=#pagetransitionevent>PageTransitionEvent</a></code>
    <li><code><a href=#path>Path</a></code>
    <li><code><a href=#popstateevent>PopStateEvent</a></code>
    <li><code><a href=#portcollection>PortCollection</a></code>
    <li><code><a href=#propertynodelist>PropertyNodeList</a></code>
    <li><code><a href=#radionodelist>RadioNodeList</a></code>
+   <li><code><a href=#shadowingwindoweventhandlers>ShadowingWindowEventHandlers</a></code>
    <li><code><a href=#sharedworker>SharedWorker</a></code>
    <li><code><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code>
    <li><code><a href=#storage-0>Storage</a></code>
@@ -104268,6 +104151,7 @@
    <li><code><a href=#websocket>WebSocket</a></code>
    <li><code><a href=#window>Window</a></code>
    <li><code><a href=#windowbase64>WindowBase64</a></code>
+   <li><code><a href=#windoweventhandlers>WindowEventHandlers</a></code>
    <li><code><a href=#windowlocalstorage>WindowLocalStorage</a></code>
    <li><code><a href=#windowmodal>WindowModal</a></code>
    <li><code><a href=#windowsessionstorage>WindowSessionStorage</a></code>

Modified: index
===================================================================
--- index	2013-01-05 19:58:15 UTC (rev 7637)
+++ index	2013-01-07 23:45:50 UTC (rev 7638)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 5 January 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 7 January 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -964,7 +964,9 @@
      <li><a href=#events><span class=secno>7.1.6 </span>Events</a>
       <ol>
        <li><a href=#event-handler-attributes><span class=secno>7.1.6.1 </span>Event handlers</a></li>
-       <li><a href=#event-handlers-on-elements,-document-objects,-and-window-objects><span class=secno>7.1.6.2 </span>Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects</a></li>
+       <li><a href=#event-handlers-on-elements,-document-objects,-and-window-objects><span class=secno>7.1.6.2 </span>Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects</a>
+        <ol>
+         <li><a href=#idl-definitions><span class=secno>7.1.6.2.1 </span>IDL definitions</a></ol></li>
        <li><a href=#event-firing><span class=secno>7.1.6.3 </span>Event firing</a></li>
        <li><a href=#events-and-the-window-object><span class=secno>7.1.6.4 </span>Events and the <code>Window</code> object</a></ol></ol></li>
    <li><a href=#atob><span class=secno>7.2 </span>Base64 utility methods</a></li>
@@ -9627,67 +9629,11 @@
   DOMString <a href=#dom-document-querycommandvalue title=dom-document-queryCommandValue>queryCommandValue</a>(DOMString commandId);
   readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-commands title=dom-document-commands>commands</a>;
 
-  // <a href=#event-handler-idl-attributes>event handler IDL attributes</a>
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onblur title=handler-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-onerror title=handler-onerror>onerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onfocus title=handler-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onload title=handler-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
-           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-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>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsubmit title=handler-onsubmit>onsubmit</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
-
   // special <a href=#event-handler-idl-attributes>event handler IDL attributes</a> that only apply to Document objects
   [LenientThis] attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onreadystatechange title=handler-onreadystatechange>onreadystatechange</a>;
-};</pre>
+};
+<a href=#document>Document</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
+<a href=#document>Document</a> implements <a href=#nodeeventhandlers>NodeEventHandlers</a>;</pre>
 
 
 <!--ADD-TOPIC:Security-->
@@ -10636,65 +10582,9 @@
 
   // styling
   [PutForwards=<a href=#dom-cssstyledeclaration-csstext title=dom-CSSStyleDeclaration-cssText>cssText</a>] readonly attribute <a href=#cssstyledeclaration>CSSStyleDeclaration</a> <a href=#dom-style title=dom-style>style</a>;
-
-  // <a href=#event-handler-idl-attributes>event handler IDL attributes</a>
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onblur title=handler-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-onerror title=handler-onerror>onerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onfocus title=handler-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onload title=handler-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
-           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-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>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsubmit title=handler-onsubmit>onsubmit</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
 };
+<a href=#htmlelement>HTMLElement</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
+<a href=#htmlelement>HTMLElement</a> implements <a href=#nodeeventhandlers>NodeEventHandlers</a>;
 
 interface <dfn id=htmlunknownelement>HTMLUnknownElement</dfn> : <a href=#htmlelement>HTMLElement</a> { };</pre>
 
@@ -17169,27 +17059,8 @@
    <dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class=idl>interface <dfn id=htmlbodyelement>HTMLBodyElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</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-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-onresize title=handler-window-onresize>onresize</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onscroll title=handler-window-onscroll>onscroll</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>
+};
+<a href=#htmlbodyelement>HTMLBodyElement</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;</pre>
 </dd>
   </dl><!--TOPIC:HTML--><p>The <code><a href=#the-body-element>body</a></code> element <a href=#represents>represents</a> the main
   content of the document.</p>
@@ -66893,79 +66764,10 @@
   any <a href=#dom-showmodaldialog title=dom-showModalDialog>showModalDialog</a>(DOMString url, optional any argument<!--, optional DOMString features-->);
 
   void <a href=#dom-window-postmessage title=dom-window-postMessage>postMessage</a>(any message, DOMString targetOrigin, optional sequence<<a href=#transferable>Transferable</a>> transfer);
-  // <a href=#event-handler-idl-attributes>event handler IDL attributes</a>
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
-           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
-           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-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-window-onresize title=handler-window-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>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</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-onsubmit title=handler-onsubmit>onsubmit</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
-};</pre>
+};
+<a href=#window>Window</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
+<a href=#window>Window</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;
+<a href=#window>Window</a> implements <a href=#shadowingwindoweventhandlers>ShadowingWindowEventHandlers</a>;</pre>
 
 <!-- for more features to add here, look here:
  http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
@@ -74415,8 +74217,105 @@
 
   <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-onreadystatechange title=handler-onreadystatechange><code>onreadystatechange</code></dfn> <td> <code title=event-readystatechange><a href=#event-readystatechange>readystatechange</a></code>
-  </table><div class=impl>
+  </table><h6 id=idl-definitions><span class=secno>7.1.6.2.1 </span>IDL definitions</h6>
 
+  <pre class=idl>[NoInterfaceObject]
+interface <dfn id=globaleventhandlers>GlobalEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncancel title=handler-oncancel>oncancel</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplay title=handler-oncanplay>oncanplay</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncanplaythrough title=handler-oncanplaythrough>oncanplaythrough</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onclose title=handler-onclose>onclose</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oncuechange title=handler-oncuechange>oncuechange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ondurationchange title=handler-ondurationchange>ondurationchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onemptied title=handler-onemptied>onemptied</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadeddata title=handler-onloadeddata>onloadeddata</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadedmetadata title=handler-onloadedmetadata>onloadedmetadata</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onloadstart title=handler-onloadstart>onloadstart</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onpause title=handler-onpause>onpause</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplay title=handler-onplay>onplay</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onplaying title=handler-onplaying>onplaying</a>;
+           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-onseeked title=handler-onseeked>onseeked</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onseeking title=handler-onseeking>onseeking</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onshow title=handler-onshow>onshow</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsort title=handler-onsort>onsort</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onstalled title=handler-onstalled>onstalled</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsubmit title=handler-onsubmit>onsubmit</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onsuspend title=handler-onsuspend>onsuspend</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-ontimeupdate title=handler-ontimeupdate>ontimeupdate</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
+};
+
+[NoInterfaceObject]
+interface <dfn id=nodeeventhandlers>NodeEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onblur title=handler-onblur>onblur</a>;
+           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-onerror title=handler-onerror>onerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onfocus title=handler-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onload title=handler-onload>onload</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onscroll title=handler-onscroll>onscroll</a>;
+};
+
+[NoInterfaceObject]
+interface <dfn id=windoweventhandlers>WindowEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
+           attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</a>;
+           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>;
+};
+
+[NoInterfaceObject]
+interface <dfn id=shadowingwindoweventhandlers>ShadowingWindowEventHandlers</dfn> {
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
+//         attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onscroll title=handler-window-onscroll>onscroll</a>;
+};</pre>
+
+
+
+  <div class=impl>
+
   <h5 id=event-firing><span class=secno>7.1.6.3 </span>Event firing</h5>
 
   <p>Certain operations and methods are defined as firing events on
@@ -99487,27 +99386,8 @@
   <pre class=idl>interface <dfn id=htmlframesetelement>HTMLFrameSetElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute DOMString <a href=#dom-frameset-cols title=dom-frameset-cols>cols</a>;
            attribute DOMString <a href=#dom-frameset-rows title=dom-frameset-rows>rows</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
-//         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
-           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</a>;
-           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-onscroll title=handler-window-onscroll>onscroll</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>
+};
+<a href=#htmlframesetelement>HTMLFrameSetElement</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;</pre>
 
   <p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL attributes of the <code><a href=#frameset>frameset</a></code>
   element must <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>
@@ -104149,6 +104029,7 @@
    <li><code><a href=#eventsource>EventSource</a></code>
    <li><code><a href=#external>External</a></code>
    <li><code><a href=#functionstringcallback>FunctionStringCallback</a></code>
+   <li><code><a href=#globaleventhandlers>GlobalEventHandlers</a></code>
    <li><code><a href=#htmlallcollection>HTMLAllCollection</a></code>
    <li><code><a href=#htmlanchorelement>HTMLAnchorElement</a></code>
    <li><code><a href=#htmlappletelement>HTMLAppletElement</a></code>
@@ -104244,12 +104125,14 @@
    <li><code><a href=#navigatorlanguage>NavigatorLanguage</a></code>
    <li><code><a href=#navigatoronline>NavigatorOnLine</a></code>
    <li><code><a href=#navigatorstorageutils>NavigatorStorageUtils</a></code>
+   <li><code><a href=#nodeeventhandlers>NodeEventHandlers</a></code>
    <li><code><a href=#pagetransitionevent>PageTransitionEvent</a></code>
    <li><code><a href=#path>Path</a></code>
    <li><code><a href=#popstateevent>PopStateEvent</a></code>
    <li><code><a href=#portcollection>PortCollection</a></code>
    <li><code><a href=#propertynodelist>PropertyNodeList</a></code>
    <li><code><a href=#radionodelist>RadioNodeList</a></code>
+   <li><code><a href=#shadowingwindoweventhandlers>ShadowingWindowEventHandlers</a></code>
    <li><code><a href=#sharedworker>SharedWorker</a></code>
    <li><code><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code>
    <li><code><a href=#storage-0>Storage</a></code>
@@ -104268,6 +104151,7 @@
    <li><code><a href=#websocket>WebSocket</a></code>
    <li><code><a href=#window>Window</a></code>
    <li><code><a href=#windowbase64>WindowBase64</a></code>
+   <li><code><a href=#windoweventhandlers>WindowEventHandlers</a></code>
    <li><code><a href=#windowlocalstorage>WindowLocalStorage</a></code>
    <li><code><a href=#windowmodal>WindowModal</a></code>
    <li><code><a href=#windowsessionstorage>WindowSessionStorage</a></code>

Modified: source
===================================================================
--- source	2013-01-05 19:58:15 UTC (rev 7637)
+++ source	2013-01-07 23:45:50 UTC (rev 7638)
@@ -9562,67 +9562,11 @@
   DOMString <span title="dom-document-queryCommandValue">queryCommandValue</span>(DOMString commandId);
   readonly attribute <span>HTMLCollection</span> <span title="dom-document-commands">commands</span>;
 
-  // <span>event handler IDL attributes</span>
-           attribute <span>EventHandler</span> <span title="handler-onabort">onabort</span>;
-           attribute <span>EventHandler</span> <span title="handler-onblur">onblur</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncancel">oncancel</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncanplay">oncanplay</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncanplaythrough">oncanplaythrough</span>;
-           attribute <span>EventHandler</span> <span title="handler-onchange">onchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onclick">onclick</span>;
-           attribute <span>EventHandler</span> <span title="handler-onclose">onclose</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncontextmenu">oncontextmenu</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncuechange">oncuechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondblclick">ondblclick</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondrag">ondrag</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragend">ondragend</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragenter">ondragenter</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragleave">ondragleave</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragover">ondragover</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragstart">ondragstart</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondrop">ondrop</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondurationchange">ondurationchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onemptied">onemptied</span>;
-           attribute <span>EventHandler</span> <span title="handler-onended">onended</span>;
-           attribute <span>OnErrorEventHandler</span> <span title="handler-onerror">onerror</span>;
-           attribute <span>EventHandler</span> <span title="handler-onfocus">onfocus</span>;
-           attribute <span>EventHandler</span> <span title="handler-oninput">oninput</span>;
-           attribute <span>EventHandler</span> <span title="handler-oninvalid">oninvalid</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeydown">onkeydown</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeypress">onkeypress</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeyup">onkeyup</span>;
-           attribute <span>EventHandler</span> <span title="handler-onload">onload</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadeddata">onloadeddata</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadedmetadata">onloadedmetadata</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadstart">onloadstart</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousedown">onmousedown</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousemove">onmousemove</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseout">onmouseout</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseover">onmouseover</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseup">onmouseup</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousewheel">onmousewheel</span>;
-           attribute <span>EventHandler</span> <span title="handler-onpause">onpause</span>;
-           attribute <span>EventHandler</span> <span title="handler-onplay">onplay</span>;
-           attribute <span>EventHandler</span> <span title="handler-onplaying">onplaying</span>;
-           attribute <span>EventHandler</span> <span title="handler-onprogress">onprogress</span>;
-           attribute <span>EventHandler</span> <span title="handler-onratechange">onratechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onreset">onreset</span>;
-           attribute <span>EventHandler</span> <span title="handler-onscroll">onscroll</span>;
-           attribute <span>EventHandler</span> <span title="handler-onseeked">onseeked</span>;
-           attribute <span>EventHandler</span> <span title="handler-onseeking">onseeking</span>;
-           attribute <span>EventHandler</span> <span title="handler-onselect">onselect</span>;
-           attribute <span>EventHandler</span> <span title="handler-onshow">onshow</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsort">onsort</span>;
-           attribute <span>EventHandler</span> <span title="handler-onstalled">onstalled</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsubmit">onsubmit</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsuspend">onsuspend</span>;
-           attribute <span>EventHandler</span> <span title="handler-ontimeupdate">ontimeupdate</span>;
-           attribute <span>EventHandler</span> <span title="handler-onvolumechange">onvolumechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onwaiting">onwaiting</span>;
-
   // special <span>event handler IDL attributes</span> that only apply to Document objects
   [LenientThis] attribute <span>EventHandler</span> <span title="handler-onreadystatechange">onreadystatechange</span>;
-};</pre>
+};
+<span>Document</span> implements <span>GlobalEventHandlers</span>;
+<span>Document</span> implements <span>NodeEventHandlers</span>;</pre>
 
 
 <!--ADD-TOPIC:Security-->
@@ -10742,65 +10686,9 @@
 
   // styling
   [PutForwards=<span title="dom-CSSStyleDeclaration-cssText">cssText</span>] readonly attribute <span>CSSStyleDeclaration</span> <span title="dom-style">style</span>;
-
-  // <span>event handler IDL attributes</span>
-           attribute <span>EventHandler</span> <span title="handler-onabort">onabort</span>;
-           attribute <span>EventHandler</span> <span title="handler-onblur">onblur</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncancel">oncancel</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncanplay">oncanplay</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncanplaythrough">oncanplaythrough</span>;
-           attribute <span>EventHandler</span> <span title="handler-onchange">onchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onclick">onclick</span>;
-           attribute <span>EventHandler</span> <span title="handler-onclose">onclose</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncontextmenu">oncontextmenu</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncuechange">oncuechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondblclick">ondblclick</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondrag">ondrag</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragend">ondragend</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragenter">ondragenter</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragleave">ondragleave</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragover">ondragover</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragstart">ondragstart</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondrop">ondrop</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondurationchange">ondurationchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onemptied">onemptied</span>;
-           attribute <span>EventHandler</span> <span title="handler-onended">onended</span>;
-           attribute <span>OnErrorEventHandler</span> <span title="handler-onerror">onerror</span>;
-           attribute <span>EventHandler</span> <span title="handler-onfocus">onfocus</span>;
-           attribute <span>EventHandler</span> <span title="handler-oninput">oninput</span>;
-           attribute <span>EventHandler</span> <span title="handler-oninvalid">oninvalid</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeydown">onkeydown</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeypress">onkeypress</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeyup">onkeyup</span>;
-           attribute <span>EventHandler</span> <span title="handler-onload">onload</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadeddata">onloadeddata</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadedmetadata">onloadedmetadata</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadstart">onloadstart</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousedown">onmousedown</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousemove">onmousemove</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseout">onmouseout</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseover">onmouseover</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseup">onmouseup</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousewheel">onmousewheel</span>;
-           attribute <span>EventHandler</span> <span title="handler-onpause">onpause</span>;
-           attribute <span>EventHandler</span> <span title="handler-onplay">onplay</span>;
-           attribute <span>EventHandler</span> <span title="handler-onplaying">onplaying</span>;
-           attribute <span>EventHandler</span> <span title="handler-onprogress">onprogress</span>;
-           attribute <span>EventHandler</span> <span title="handler-onratechange">onratechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onreset">onreset</span>;
-           attribute <span>EventHandler</span> <span title="handler-onscroll">onscroll</span>;
-           attribute <span>EventHandler</span> <span title="handler-onseeked">onseeked</span>;
-           attribute <span>EventHandler</span> <span title="handler-onseeking">onseeking</span>;
-           attribute <span>EventHandler</span> <span title="handler-onselect">onselect</span>;
-           attribute <span>EventHandler</span> <span title="handler-onshow">onshow</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsort">onsort</span>;
-           attribute <span>EventHandler</span> <span title="handler-onstalled">onstalled</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsubmit">onsubmit</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsuspend">onsuspend</span>;
-           attribute <span>EventHandler</span> <span title="handler-ontimeupdate">ontimeupdate</span>;
-           attribute <span>EventHandler</span> <span title="handler-onvolumechange">onvolumechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onwaiting">onwaiting</span>;
 };
+<span>HTMLElement</span> implements <span>GlobalEventHandlers</span>;
+<span>HTMLElement</span> implements <span>NodeEventHandlers</span>;
 
 interface <dfn>HTMLUnknownElement</dfn> : <span>HTMLElement</span> { };</pre>
 
@@ -18142,27 +18030,8 @@
    <dt><span title="element-dfn-dom">DOM interface</span>:</dt><!--TOPIC:DOM APIs-->
    <dd>
 <pre class="idl">interface <dfn>HTMLBodyElement</dfn> : <span>HTMLElement</span> {
-           attribute <span>EventHandler</span> <span title="handler-window-onafterprint">onafterprint</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onbeforeprint">onbeforeprint</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onbeforeunload">onbeforeunload</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onblur">onblur</span>;
-           attribute <span>OnErrorEventHandler</span> <span title="handler-window-onerror">onerror</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onfocus">onfocus</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenchange">onfullscreenchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenerror">onfullscreenerror</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onhashchange">onhashchange</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onload">onload</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onmessage">onmessage</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onoffline">onoffline</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-ononline">ononline</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpopstate">onpopstate</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpagehide">onpagehide</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpageshow">onpageshow</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onresize">onresize</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onscroll">onscroll</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onstorage">onstorage</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onunload">onunload</span>;
-};</pre>
+};
+<span>HTMLBodyElement</span> implements <span>WindowEventHandlers</span>;</pre>
 </dd>
   </dl><!--TOPIC:HTML-->
 
@@ -78300,79 +78169,10 @@
   any <span title="dom-showModalDialog">showModalDialog</span>(DOMString url, optional any argument<!--, optional DOMString features-->);
 
   void <span title="dom-window-postMessage">postMessage</span>(any message, DOMString targetOrigin, optional sequence<<span>Transferable</span>> transfer);
-  // <span>event handler IDL attributes</span>
-           attribute <span>EventHandler</span> <span title="handler-onabort">onabort</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onafterprint">onafterprint</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onbeforeprint">onbeforeprint</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onbeforeunload">onbeforeunload</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onblur">onblur</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncancel">oncancel</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncanplay">oncanplay</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncanplaythrough">oncanplaythrough</span>;
-           attribute <span>EventHandler</span> <span title="handler-onchange">onchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onclick">onclick</span>;
-           attribute <span>EventHandler</span> <span title="handler-onclose">onclose</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncontextmenu">oncontextmenu</span>;
-           attribute <span>EventHandler</span> <span title="handler-oncuechange">oncuechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondblclick">ondblclick</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondrag">ondrag</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragend">ondragend</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragenter">ondragenter</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragleave">ondragleave</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragover">ondragover</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondragstart">ondragstart</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondrop">ondrop</span>;
-           attribute <span>EventHandler</span> <span title="handler-ondurationchange">ondurationchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onemptied">onemptied</span>;
-           attribute <span>EventHandler</span> <span title="handler-onended">onended</span>;
-           attribute <span>OnErrorEventHandler</span> <span title="handler-window-onerror">onerror</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onfocus">onfocus</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenchange">onfullscreenchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenerror">onfullscreenerror</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onhashchange">onhashchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-oninput">oninput</span>;
-           attribute <span>EventHandler</span> <span title="handler-oninvalid">oninvalid</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeydown">onkeydown</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeypress">onkeypress</span>;
-           attribute <span>EventHandler</span> <span title="handler-onkeyup">onkeyup</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onload">onload</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadeddata">onloadeddata</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadedmetadata">onloadedmetadata</span>;
-           attribute <span>EventHandler</span> <span title="handler-onloadstart">onloadstart</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onmessage">onmessage</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousedown">onmousedown</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousemove">onmousemove</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseout">onmouseout</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseover">onmouseover</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmouseup">onmouseup</span>;
-           attribute <span>EventHandler</span> <span title="handler-onmousewheel">onmousewheel</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onoffline">onoffline</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-ononline">ononline</span>;
-           attribute <span>EventHandler</span> <span title="handler-onpause">onpause</span>;
-           attribute <span>EventHandler</span> <span title="handler-onplay">onplay</span>;
-           attribute <span>EventHandler</span> <span title="handler-onplaying">onplaying</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpagehide">onpagehide</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpageshow">onpageshow</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpopstate">onpopstate</span>;
-           attribute <span>EventHandler</span> <span title="handler-onprogress">onprogress</span>;
-           attribute <span>EventHandler</span> <span title="handler-onratechange">onratechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onreset">onreset</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onresize">onresize</span>;
-           attribute <span>EventHandler</span> <span title="handler-onscroll">onscroll</span>;
-           attribute <span>EventHandler</span> <span title="handler-onseeked">onseeked</span>;
-           attribute <span>EventHandler</span> <span title="handler-onseeking">onseeking</span>;
-           attribute <span>EventHandler</span> <span title="handler-onselect">onselect</span>;
-           attribute <span>EventHandler</span> <span title="handler-onshow">onshow</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsort">onsort</span>;
-           attribute <span>EventHandler</span> <span title="handler-onstalled">onstalled</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onstorage">onstorage</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsubmit">onsubmit</span>;
-           attribute <span>EventHandler</span> <span title="handler-onsuspend">onsuspend</span>;
-           attribute <span>EventHandler</span> <span title="handler-ontimeupdate">ontimeupdate</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onunload">onunload</span>;
-           attribute <span>EventHandler</span> <span title="handler-onvolumechange">onvolumechange</span>;
-           attribute <span>EventHandler</span> <span title="handler-onwaiting">onwaiting</span>;
-};</pre>
+};
+<span>Window</span> implements <span>GlobalEventHandlers</span>;
+<span>Window</span> implements <span>WindowEventHandlers</span>;
+<span>Window</span> implements <span>ShadowingWindowEventHandlers</span>;</pre>
 
 <!-- for more features to add here, look here:
  http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
@@ -87009,6 +86809,103 @@
   </table>
 
 
+  <h6>IDL definitions</h6>
+
+  <pre class="idl">[NoInterfaceObject]
+interface <dfn>GlobalEventHandlers</dfn> {
+           attribute <span>EventHandler</span> <span title="handler-onabort">onabort</span>;
+           attribute <span>EventHandler</span> <span title="handler-oncancel">oncancel</span>;
+           attribute <span>EventHandler</span> <span title="handler-oncanplay">oncanplay</span>;
+           attribute <span>EventHandler</span> <span title="handler-oncanplaythrough">oncanplaythrough</span>;
+           attribute <span>EventHandler</span> <span title="handler-onchange">onchange</span>;
+           attribute <span>EventHandler</span> <span title="handler-onclick">onclick</span>;
+           attribute <span>EventHandler</span> <span title="handler-onclose">onclose</span>;
+           attribute <span>EventHandler</span> <span title="handler-oncontextmenu">oncontextmenu</span>;
+           attribute <span>EventHandler</span> <span title="handler-oncuechange">oncuechange</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondblclick">ondblclick</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondrag">ondrag</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondragend">ondragend</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondragenter">ondragenter</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondragleave">ondragleave</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondragover">ondragover</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondragstart">ondragstart</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondrop">ondrop</span>;
+           attribute <span>EventHandler</span> <span title="handler-ondurationchange">ondurationchange</span>;
+           attribute <span>EventHandler</span> <span title="handler-onemptied">onemptied</span>;
+           attribute <span>EventHandler</span> <span title="handler-onended">onended</span>;
+           attribute <span>EventHandler</span> <span title="handler-oninput">oninput</span>;
+           attribute <span>EventHandler</span> <span title="handler-oninvalid">oninvalid</span>;
+           attribute <span>EventHandler</span> <span title="handler-onkeydown">onkeydown</span>;
+           attribute <span>EventHandler</span> <span title="handler-onkeypress">onkeypress</span>;
+           attribute <span>EventHandler</span> <span title="handler-onkeyup">onkeyup</span>;
+           attribute <span>EventHandler</span> <span title="handler-onloadeddata">onloadeddata</span>;
+           attribute <span>EventHandler</span> <span title="handler-onloadedmetadata">onloadedmetadata</span>;
+           attribute <span>EventHandler</span> <span title="handler-onloadstart">onloadstart</span>;
+           attribute <span>EventHandler</span> <span title="handler-onmousedown">onmousedown</span>;
+           attribute <span>EventHandler</span> <span title="handler-onmousemove">onmousemove</span>;
+           attribute <span>EventHandler</span> <span title="handler-onmouseout">onmouseout</span>;
+           attribute <span>EventHandler</span> <span title="handler-onmouseover">onmouseover</span>;
+           attribute <span>EventHandler</span> <span title="handler-onmouseup">onmouseup</span>;
+           attribute <span>EventHandler</span> <span title="handler-onmousewheel">onmousewheel</span>;
+           attribute <span>EventHandler</span> <span title="handler-onpause">onpause</span>;
+           attribute <span>EventHandler</span> <span title="handler-onplay">onplay</span>;
+           attribute <span>EventHandler</span> <span title="handler-onplaying">onplaying</span>;
+           attribute <span>EventHandler</span> <span title="handler-onprogress">onprogress</span>;
+           attribute <span>EventHandler</span> <span title="handler-onratechange">onratechange</span>;
+           attribute <span>EventHandler</span> <span title="handler-onreset">onreset</span>;
+           attribute <span>EventHandler</span> <span title="handler-onseeked">onseeked</span>;
+           attribute <span>EventHandler</span> <span title="handler-onseeking">onseeking</span>;
+           attribute <span>EventHandler</span> <span title="handler-onselect">onselect</span>;
+           attribute <span>EventHandler</span> <span title="handler-onshow">onshow</span>;
+           attribute <span>EventHandler</span> <span title="handler-onsort">onsort</span>;
+           attribute <span>EventHandler</span> <span title="handler-onstalled">onstalled</span>;
+           attribute <span>EventHandler</span> <span title="handler-onsubmit">onsubmit</span>;
+           attribute <span>EventHandler</span> <span title="handler-onsuspend">onsuspend</span>;
+           attribute <span>EventHandler</span> <span title="handler-ontimeupdate">ontimeupdate</span>;
+           attribute <span>EventHandler</span> <span title="handler-onvolumechange">onvolumechange</span>;
+           attribute <span>EventHandler</span> <span title="handler-onwaiting">onwaiting</span>;
+};
+
+[NoInterfaceObject]
+interface <dfn>NodeEventHandlers</dfn> {
+           attribute <span>EventHandler</span> <span title="handler-onblur">onblur</span>;
+           attribute <span>OnErrorEventHandler</span> <span title="handler-onerror">onerror</span>;
+           attribute <span>EventHandler</span> <span title="handler-onfocus">onfocus</span>;
+           attribute <span>EventHandler</span> <span title="handler-onload">onload</span>;
+           attribute <span>EventHandler</span> <span title="handler-onscroll">onscroll</span>;
+};
+
+[NoInterfaceObject]
+interface <dfn>WindowEventHandlers</dfn> {
+           attribute <span>EventHandler</span> <span title="handler-window-onafterprint">onafterprint</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onbeforeprint">onbeforeprint</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onbeforeunload">onbeforeunload</span>;
+           attribute <span>OnErrorEventHandler</span> <span title="handler-window-onerror">onerror</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenchange">onfullscreenchange</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenerror">onfullscreenerror</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onhashchange">onhashchange</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onmessage">onmessage</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onoffline">onoffline</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-ononline">ononline</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onpagehide">onpagehide</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onpageshow">onpageshow</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onpopstate">onpopstate</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onresize">onresize</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onstorage">onstorage</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onunload">onunload</span>;
+};
+
+[NoInterfaceObject]
+interface <dfn>ShadowingWindowEventHandlers</dfn> {
+           attribute <span>EventHandler</span> <span title="handler-window-onblur">onblur</span>;
+//         attribute <span>OnErrorEventHandler</span> <span title="handler-window-onerror">onerror</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfocus">onfocus</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onload">onload</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onscroll">onscroll</span>;
+};</pre>
+
+
+
   <div class="impl">
 
   <h5>Event firing</h5>
@@ -116203,27 +116100,8 @@
   <pre class="idl">interface <dfn>HTMLFrameSetElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-frameset-cols">cols</span>;
            attribute DOMString <span title="dom-frameset-rows">rows</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onafterprint">onafterprint</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onbeforeprint">onbeforeprint</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onbeforeunload">onbeforeunload</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onblur">onblur</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onerror">onerror</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onfocus">onfocus</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenchange">onfullscreenchange</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenerror">onfullscreenerror</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onhashchange">onhashchange</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onload">onload</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onmessage">onmessage</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onoffline">onoffline</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-ononline">ononline</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpagehide">onpagehide</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpageshow">onpageshow</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onpopstate">onpopstate</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onresize">onresize</span>;
-//         attribute <span>EventHandler</span> <span title="handler-window-onscroll">onscroll</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onstorage">onstorage</span>;
-           attribute <span>EventHandler</span> <span title="handler-window-onunload">onunload</span>;
-};</pre>
+};
+<span>HTMLFrameSetElement</span> implements <span>WindowEventHandlers</span>;</pre>
 
   <p>The <dfn title="dom-frameset-cols"><code>cols</code></dfn> and <dfn
   title="dom-frameset-rows"><code>rows</code></dfn> IDL attributes of the <code>frameset</code>




More information about the Commit-Watchers mailing list