HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3004

File a bug

SVNBugCommentTime (UTC)
3004Add onbeforeprint and onafterprint.2009-04-27 23:54
Index: source
===================================================================
--- source	(revision 3003)
+++ source	(revision 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 -->

|