Skip to content
Permalink
Browse files

[giow] (3) Remove some IDL shadowing. See also bug 20225.

Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7560 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Dec 4, 2012
1 parent 00c9d0c commit 7d800acd23145026485e758441f07249541a4954
Showing with 33 additions and 31 deletions.
  1. +11 −10 complete.html
  2. +11 −10 index
  3. +11 −11 source

<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 &mdash; Last Updated 2 December 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
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>;
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-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>
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
21 index

<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 &mdash; Last Updated 2 December 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
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>;
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-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>
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
22 source
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>;
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-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>

<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

0 comments on commit 7d800ac

Please sign in to comment.
You can’t perform that action at this time.