[html5] r3218 - [] (0) Mention frameset event handler attributes (they work like <body>'s apparently)

whatwg at whatwg.org whatwg at whatwg.org
Wed Jun 10 01:31:54 PDT 2009


Author: ianh
Date: 2009-06-10 01:31:52 -0700 (Wed, 10 Jun 2009)
New Revision: 3218

Modified:
   index
   source
Log:
[] (0) Mention frameset event handler attributes (they work like <body>'s apparently)

Modified: index
===================================================================
--- index	2009-06-10 07:08:35 UTC (rev 3217)
+++ index	2009-06-10 08:31:52 UTC (rev 3218)
@@ -70633,7 +70633,63 @@
   violation is motivated by a desire for compatibility with legacy
   content. <a href=#refsECMA262>[ECMA262]</a></p>
 
+  <hr><p>Any <code>frameset</code> elements must support the following
+  <a href=#event-handler-content-attributes>event handler content attributes</a> exposing the
+  <a href=#event-handler-attributes-0>event handler attributes</a> of the <code><a href=#window>Window</a></code>
+  object:</p>
 
+  <ul class=brief><li><code title=handler-window-onafterprint><a href=#handler-window-onafterprint>onafterprint</a></code></li>
+   <li><code title=handler-window-onbeforeprint><a href=#handler-window-onbeforeprint>onbeforeprint</a></code></li>
+   <li><code title=handler-window-onbeforeunload><a href=#handler-window-onbeforeunload>onbeforeunload</a></code></li>
+   <li><code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code></li>
+   <li><code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code></li>
+   <li><code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code></li>
+   <li><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></li>
+   <li><code title=handler-window-onload><a href=#handler-window-onload>onload</a></code></li>
+   <li><code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code></li>
+   <li><code title=handler-window-onoffline><a href=#handler-window-onoffline>onoffline</a></code></li>
+   <li><code title=handler-window-ononline><a href=#handler-window-ononline>ononline</a></code></li>
+   <li><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></li>
+   <li><code title=handler-window-onredo><a href=#handler-window-onredo>onredo</a></code></li>
+   <li><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></li>
+   <li><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></li>
+   <li><code title=handler-window-onundo><a href=#handler-window-onundo>onundo</a></code></li>
+   <li><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></li>
+  </ul><p>In addition, <code>frameset</code> elements must implement the
+  following interface:</p>
+
+  <pre class=idl>interface <dfn id=htmlframesetelement>HTMLFramesetElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
+           attribute <a href=#function>Function</a> <a href=#handler-window-onafterprint title=handler-window-onafterprint>onafterprint</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onbeforeprint title=handler-window-onbeforeprint>onbeforeprint</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onbeforeunload title=handler-window-onbeforeunload>onbeforeunload</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onoffline title=handler-window-onoffline>onoffline</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-ononline title=handler-window-ononline>ononline</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onpopstate title=handler-window-onpopstate>onpopstate</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onredo title=handler-window-onredo>onredo</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onresize title=handler-window-onresize>onresize</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onstorage title=handler-window-onstorage>onstorage</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onundo title=handler-window-onundo>onundo</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
+};</pre>
+
+  <p>These <a href=#event-handler-dom-attributes>event handler DOM attributes</a> mirror those on
+  the <code><a href=#window>Window</a></code> element.</p>
+
+  <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, and <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code> <a href=#event-handler-attributes-0>event handler
+  attributes</a> of the <code><a href=#window>Window</a></code> object, exposed on the
+  <code>frameset</code> element, shadow the generic <a href=#event-handler-attributes-0>event
+  handler attributes</a> with the same names normally supported by
+  <a href=#html-elements>HTML elements</a>.</p>
+
+
+
+
   <h3 id=conformance-checkers-0><span class=secno>12.4 </span>Conformance checkers</h3>
 
   <p>To ease the transition from HTML4 Transitional documents to the

Modified: source
===================================================================
--- source	2009-06-10 07:08:35 UTC (rev 3217)
+++ source	2009-06-10 08:31:52 UTC (rev 3218)
@@ -83328,7 +83328,71 @@
   violation is motivated by a desire for compatibility with legacy
   content. <a href="#refsECMA262">[ECMA262]</a></p>
 
+  <hr>
 
+  <p>Any <code>frameset</code> elements must support the following
+  <span>event handler content attributes</span> exposing the
+  <span>event handler attributes</span> of the <code>Window</code>
+  object:</p>
+
+  <ul class="brief">
+   <li><code title="handler-window-onafterprint">onafterprint</code></li>
+   <li><code title="handler-window-onbeforeprint">onbeforeprint</code></li>
+   <li><code title="handler-window-onbeforeunload">onbeforeunload</code></li>
+   <li><code title="handler-window-onblur">onblur</code></li>
+   <li><code title="handler-window-onerror">onerror</code></li>
+   <li><code title="handler-window-onfocus">onfocus</code></li>
+   <li><code title="handler-window-onhashchange">onhashchange</code></li>
+   <li><code title="handler-window-onload">onload</code></li>
+   <li><code title="handler-window-onmessage">onmessage</code></li>
+   <li><code title="handler-window-onoffline">onoffline</code></li>
+   <li><code title="handler-window-ononline">ononline</code></li>
+   <li><code title="handler-window-onpopstate">onpopstate</code></li>
+   <li><code title="handler-window-onredo">onredo</code></li>
+   <li><code title="handler-window-onresize">onresize</code></li>
+   <li><code title="handler-window-onstorage">onstorage</code></li>
+   <li><code title="handler-window-onundo">onundo</code></li>
+   <li><code title="handler-window-onunload">onunload</code></li>
+  </ul>
+
+  <p>In addition, <code>frameset</code> elements must implement the
+  following interface:</p>
+
+  <pre class="idl">interface <dfn>HTMLFramesetElement</dfn> : <span>HTMLElement</span> {
+           attribute <span>Function</span> <span title="handler-window-onafterprint">onafterprint</span>;
+           attribute <span>Function</span> <span title="handler-window-onbeforeprint">onbeforeprint</span>;
+           attribute <span>Function</span> <span title="handler-window-onbeforeunload">onbeforeunload</span>;
+           attribute <span>Function</span> <span title="handler-window-onblur">onblur</span>;
+           attribute <span>Function</span> <span title="handler-window-onerror">onerror</span>;
+           attribute <span>Function</span> <span title="handler-window-onfocus">onfocus</span>;
+           attribute <span>Function</span> <span title="handler-window-onhashchange">onhashchange</span>;
+           attribute <span>Function</span> <span title="handler-window-onload">onload</span>;
+           attribute <span>Function</span> <span title="handler-window-onmessage">onmessage</span>;
+           attribute <span>Function</span> <span title="handler-window-onoffline">onoffline</span>;
+           attribute <span>Function</span> <span title="handler-window-ononline">ononline</span>;
+           attribute <span>Function</span> <span title="handler-window-onpopstate">onpopstate</span>;
+           attribute <span>Function</span> <span title="handler-window-onredo">onredo</span>;
+           attribute <span>Function</span> <span title="handler-window-onresize">onresize</span>;
+           attribute <span>Function</span> <span title="handler-window-onstorage">onstorage</span>;
+           attribute <span>Function</span> <span title="handler-window-onundo">onundo</span>;
+           attribute <span>Function</span> <span title="handler-window-onunload">onunload</span>;
+};</pre>
+
+  <p>These <span>event handler DOM attributes</span> mirror those on
+  the <code>Window</code> element.</p>
+
+  <p>The <code title="handler-window-onblur">onblur</code>, <code
+  title="handler-window-onerror">onerror</code>, <code
+  title="handler-window-onfocus">onfocus</code>, and <code
+  title="handler-window-onload">onload</code> <span>event handler
+  attributes</span> of the <code>Window</code> object, exposed on the
+  <code>frameset</code> element, shadow the generic <span>event
+  handler attributes</span> with the same names normally supported by
+  <span>HTML elements</span>.</p>
+
+
+
+
   <h3>Conformance checkers</h3>
 
   <p>To ease the transition from HTML4 Transitional documents to the




More information about the Commit-Watchers mailing list