[html5] r3004 - [] (0) Add onbeforeprint and onafterprint.

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 27 16:54:25 PDT 2009


Author: ianh
Date: 2009-04-27 16:54:24 -0700 (Mon, 27 Apr 2009)
New Revision: 3004

Modified:
   index
   source
Log:
[] (0) Add onbeforeprint and onafterprint.

Modified: index
===================================================================
--- index	2009-04-27 23:50:50 UTC (rev 3003)
+++ index	2009-04-27 23:54:24 UTC (rev 3004)
@@ -11851,6 +11851,8 @@
    <dd><a href=#flow-content-0>Flow content</a>.</dd>
    <dt>Content attributes:</dt>
    <dd><a href=#global-attributes>Global attributes</a></dd>
+   <dd><code title=handler-window-onafterprint><a href=#handler-window-onafterprint>onafterprint</a></code></dd>
+   <dd><code title=handler-window-onbeforeprint><a href=#handler-window-onbeforeprint>onbeforeprint</a></code></dd>
    <dd><code title=handler-window-onbeforeunload><a href=#handler-window-onbeforeunload>onbeforeunload</a></code></dd>
    <dd><code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code></dd>
    <dd><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></dd>
@@ -11867,6 +11869,8 @@
    <dt>DOM interface:</dt>
    <dd>
 <pre class=idl>interface <dfn id=htmlbodyelement>HTMLBodyElement</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-onerror title=handler-window-onerror>onerror</a>;
            attribute <a href=#function>Function</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
@@ -40207,6 +40211,8 @@
 
   // <a href=#event-handler-dom-attributes>event handler DOM attributes</a>
            attribute <a href=#function>Function</a> <a href=#handler-onabort title=handler-onabort>onabort</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-onblur title=handler-onblur>onblur</a>;
            attribute <a href=#function>Function</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
@@ -42071,7 +42077,9 @@
   <code><a href=#the-body-element>body</a></code> element:</p>
 
   <table><thead><tr><th><a href=#event-handler-attributes-0 title="event handler attributes">event handler attribute</a> <th><a href=#event-handler-event-type>Event handler event type</a>
-   <tbody><tr><td><dfn id=handler-window-onbeforeunload title=handler-window-onbeforeunload><code>onbeforeunload</code></dfn> <td> <code title=event-beforeunload>beforeunload</code>
+   <tbody><tr><td><dfn id=handler-window-onafterprint title=handler-window-onafterprint><code>onafterprint</code></dfn> <td> <code title=event-afterprint>afterprint</code>
+    <tr><td><dfn id=handler-window-onbeforeprint title=handler-window-onbeforeprint><code>onbeforeprint</code></dfn> <td> <code title=event-beforeprint>beforeprint</code>
+    <tr><td><dfn id=handler-window-onbeforeunload title=handler-window-onbeforeunload><code>onbeforeunload</code></dfn> <td> <code title=event-beforeunload>beforeunload</code>
     <tr><td><dfn id=handler-window-onerror title=handler-window-onerror><code>onerror</code></dfn> <td> <code title=event-error><a href=#event-error>error</a></code>
     <tr><td><dfn id=handler-window-onhashchange title=handler-window-onhashchange><code>onhashchange</code></dfn> <td> <code title=event-hashchange>hashchange</code> <!-- new -->
     <tr><td><dfn id=handler-window-onload title=handler-window-onload><code>onload</code></dfn> <td> <code title=event-load><a href=#event-load>load</a></code> <!-- widely used -->

Modified: source
===================================================================
--- source	2009-04-27 23:50:50 UTC (rev 3003)
+++ source	2009-04-27 23:54:24 UTC (rev 3004)
@@ -12672,6 +12672,8 @@
    <dd><span>Flow content</span>.</dd>
    <dt>Content attributes:</dt>
    <dd><span>Global attributes</span></dd>
+   <dd><code title="handler-window-onafterprint">onafterprint</code></dd>
+   <dd><code title="handler-window-onbeforeprint">onbeforeprint</code></dd>
    <dd><code title="handler-window-onbeforeunload">onbeforeunload</code></dd>
    <dd><code title="handler-window-onerror">onerror</code></dd>
    <dd><code title="handler-window-onhashchange">onhashchange</code></dd>
@@ -12688,6 +12690,8 @@
    <dt>DOM interface:</dt>
    <dd>
 <pre class="idl">interface <dfn>HTMLBodyElement</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-onerror">onerror</span>;
            attribute <span>Function</span> <span title="handler-window-onhashchange">onhashchange</span>;
@@ -45418,6 +45422,8 @@
 
   // <span>event handler DOM attributes</span>
            attribute <span>Function</span> <span title="handler-onabort">onabort</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-onblur">onblur</span>;
            attribute <span>Function</span> <span title="handler-onchange">onchange</span>;
@@ -47593,6 +47599,8 @@
    <thead>
     <tr><th><span title="event handler attributes">event handler attribute</span> <th><span>Event handler event type</span>
    <tbody>
+    <tr><td><dfn title="handler-window-onafterprint"><code>onafterprint</code></dfn> <td> <code title="event-afterprint">afterprint</code>
+    <tr><td><dfn title="handler-window-onbeforeprint"><code>onbeforeprint</code></dfn> <td> <code title="event-beforeprint">beforeprint</code>
     <tr><td><dfn title="handler-window-onbeforeunload"><code>onbeforeunload</code></dfn> <td> <code title="event-beforeunload">beforeunload</code>
     <tr><td><dfn title="handler-window-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code>
     <tr><td><dfn title="handler-window-onhashchange"><code>onhashchange</code></dfn> <td> <code title="event-hashchange">hashchange</code> <!-- new -->




More information about the Commit-Watchers mailing list