[html5] r7560 - [giow] (3) Remove some IDL shadowing. See also bug 20225. Affected topics: DOM A [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 3 16:43:04 PST 2012


Author: ianh
Date: 2012-12-03 16:43:03 -0800 (Mon, 03 Dec 2012)
New Revision: 7560

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Remove some IDL shadowing. See also bug 20225.
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-12-02 00:46:43 UTC (rev 7559)
+++ complete.html	2012-12-04 00:43:03 UTC (rev 7560)
@@ -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 2 December 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 4 December 2012</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>
@@ -17426,11 +17426,11 @@
            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-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-onfocus title=handler-window-onfocus>onfocus</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-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>;
@@ -17438,7 +17438,7 @@
            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-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>
@@ -17466,11 +17466,12 @@
   handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors
   their <a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>
 
-  <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>, and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handlers>event
-  handlers</a> of the <code><a href=#window>Window</a></code> object, exposed on the
-  <code><a href=#the-body-element>body</a></code> element, shadow the generic <a href=#event-handlers>event
-  handlers</a> with the same names normally supported by <a href=#html-elements>HTML
-  elements</a>.</p>
+  <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>,
+  and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the
+  <code><a href=#window>Window</a></code> object, exposed on the <code><a href=#the-body-element>body</a></code> element, shadow the generic
+  <a href=#event-handlers>event handlers</a> with the same names normally supported by <a href=#html-elements>HTML elements</a>.
+  With the exception of <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> this is actually
+  implemented by just using the properties of the <code><a href=#htmlelement>HTMLElement</a></code> interface. The <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> attribute has a different type.</p>
 
   <p class=example>Thus, for example, a bubbling <code title=event-error>error</code> event dispatched on a child of
   <a href=#the-body-element-0>the body element</a> of a <code><a href=#document>Document</a></code> would first

Modified: index
===================================================================
--- index	2012-12-02 00:46:43 UTC (rev 7559)
+++ index	2012-12-04 00:43:03 UTC (rev 7560)
@@ -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 2 December 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 4 December 2012</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>
@@ -17426,11 +17426,11 @@
            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-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-onfocus title=handler-window-onfocus>onfocus</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-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>;
@@ -17438,7 +17438,7 @@
            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-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>
@@ -17466,11 +17466,12 @@
   handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors
   their <a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>
 
-  <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>, and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handlers>event
-  handlers</a> of the <code><a href=#window>Window</a></code> object, exposed on the
-  <code><a href=#the-body-element>body</a></code> element, shadow the generic <a href=#event-handlers>event
-  handlers</a> with the same names normally supported by <a href=#html-elements>HTML
-  elements</a>.</p>
+  <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>,
+  and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the
+  <code><a href=#window>Window</a></code> object, exposed on the <code><a href=#the-body-element>body</a></code> element, shadow the generic
+  <a href=#event-handlers>event handlers</a> with the same names normally supported by <a href=#html-elements>HTML elements</a>.
+  With the exception of <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> this is actually
+  implemented by just using the properties of the <code><a href=#htmlelement>HTMLElement</a></code> interface. The <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> attribute has a different type.</p>
 
   <p class=example>Thus, for example, a bubbling <code title=event-error>error</code> event dispatched on a child of
   <a href=#the-body-element-0>the body element</a> of a <code><a href=#document>Document</a></code> would first

Modified: source
===================================================================
--- source	2012-12-02 00:46:43 UTC (rev 7559)
+++ source	2012-12-04 00:43:03 UTC (rev 7560)
@@ -18453,11 +18453,11 @@
            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-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-onfocus">onfocus</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-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>;
@@ -18465,7 +18465,7 @@
            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-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>
@@ -18497,13 +18497,13 @@
 
   <p>The <code title="handler-window-onblur">onblur</code>, <code
   title="handler-window-onerror">onerror</code>, <code
-  title="handler-window-onfocus">onfocus</code>, <code
-  title="handler-window-onload">onload</code>, and <code
-  title="handler-window-onscroll">onscroll</code> <span>event
-  handlers</span> of the <code>Window</code> object, exposed on the
-  <code>body</code> element, shadow the generic <span>event
-  handlers</span> with the same names normally supported by <span>HTML
-  elements</span>.</p>
+  title="handler-window-onfocus">onfocus</code>, <code title="handler-window-onload">onload</code>,
+  and <code title="handler-window-onscroll">onscroll</code> <span>event handlers</span> of the
+  <code>Window</code> object, exposed on the <code>body</code> element, shadow the generic
+  <span>event handlers</span> with the same names normally supported by <span>HTML elements</span>.
+  With the exception of <code title="handler-window-onerror">onerror</code> this is actually
+  implemented by just using the properties of the <code>HTMLElement</code> interface. The <code
+  title="handler-window-onerror">onerror</code> attribute has a different type.</p>
 
   <p class="example">Thus, for example, a bubbling <code
   title="event-error">error</code> event dispatched on a child of




More information about the Commit-Watchers mailing list