Skip to content

Commit

Permalink
[e] (0) Missed that onload was a global that was also on <body>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2721 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 29, 2009
1 parent b944388 commit f4fe892
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 5 additions & 5 deletions index
Expand Up @@ -6720,7 +6720,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
<dd><code title=handler-onkeydown><a href=#handler-onkeydown>onkeydown</a></code></dd>
<dd><code title=handler-onkeypress><a href=#handler-onkeypress>onkeypress</a></code></dd>
<dd><code title=handler-onkeyup><a href=#handler-onkeyup>onkeyup</a></code></dd>
<dd><code title=handler-onload><a href=#handler-onload>onload</a></code></dd>
<dd><code title=handler-onload><a href=#handler-onload>onload</a></code>*</dd>
<dd><code title=handler-onmessage><a href=#handler-onmessage>onmessage</a></code>*</dd>
<dd><code title=handler-onmousedown><a href=#handler-onmousedown>onmousedown</a></code></dd>
<dd><code title=handler-onmousemove><a href=#handler-onmousemove>onmousemove</a></code></dd>
Expand All @@ -6731,10 +6731,10 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
<dd><code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code></dd>
<dd><code title=handler-onselect><a href=#handler-onselect>onselect</a></code></dd>
<dd><code title=handler-onsubmit><a href=#handler-onsubmit>onsubmit</a></code></dd>
</dl><p class=note>The two attributes marked with an asterisk, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code> and <code title=handler-onmessage><a href=#handler-onmessage>onmessage</a></code>, cannot be specified on
<code><a href=#the-body-element>body</a></code> elements as those elements expose <a href=#event-handler-attributes-0>event
handler attributes</a> of the <code><a href=#window>Window</a></code> object with the
same names.</p>
</dl><p class=note>The attributes marked with an asterisk cannot be
specified on <code><a href=#the-body-element>body</a></code> elements as those elements expose
<a href=#event-handler-attributes-0>event handler attributes</a> of the <code><a href=#window>Window</a></code>
object with the same names.</p>

<hr><p>Also, <a href=#custom-data-attribute title="custom data attribute">custom data
attributes</a> (e.g. <code title="">data-foldername</code> or
Expand Down
12 changes: 5 additions & 7 deletions source
Expand Up @@ -6773,7 +6773,7 @@ interface <dfn>HTMLDocument</dfn> {
<dd><code title="handler-onkeydown">onkeydown</code></dd>
<dd><code title="handler-onkeypress">onkeypress</code></dd>
<dd><code title="handler-onkeyup">onkeyup</code></dd>
<dd><code title="handler-onload">onload</code></dd>
<dd><code title="handler-onload">onload</code>*</dd>
<dd><code title="handler-onmessage">onmessage</code>*</dd>
<dd><code title="handler-onmousedown">onmousedown</code></dd>
<dd><code title="handler-onmousemove">onmousemove</code></dd>
Expand All @@ -6786,12 +6786,10 @@ interface <dfn>HTMLDocument</dfn> {
<dd><code title="handler-onsubmit">onsubmit</code></dd>
</dl>

<p class="note">The two attributes marked with an asterisk, <code
title="handler-onerror">onerror</code> and <code
title="handler-onmessage">onmessage</code>, cannot be specified on
<code>body</code> elements as those elements expose <span>event
handler attributes</span> of the <code>Window</code> object with the
same names.</p>
<p class="note">The attributes marked with an asterisk cannot be
specified on <code>body</code> elements as those elements expose
<span>event handler attributes</span> of the <code>Window</code>
object with the same names.</p>

<hr>

Expand Down

0 comments on commit f4fe892

Please sign in to comment.