Add onbeforeprint and onafterprint. (whatwg r3004)

Add onbeforeprint and onafterprint. (whatwg r3004)

4.4.1 The body element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#the-body-element
HTMLBodyElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#htmlbodyelement
onload
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#handler-onload
onerror
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#handler-window-onerror
onbeforeunload
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#handler-window-onbeforeunload
onafterprint
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#handler-window-onafterprint
Window
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#window
onload
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#handler-window-onload
onbeforeprint
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#handler-window-onbeforeprint
onhashchange
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2167.html#handler-window-onhashchange

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2166&r2=1.2167&f=h
http://html5.org/tools/web-apps-tracker?from=3003&to=3004

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2166
retrieving revision 1.2167
diff -u -d -r1.2166 -r1.2167
--- Overview.html 27 Apr 2009 23:50:54 -0000 1.2166
+++ Overview.html 27 Apr 2009 23:54:28 -0000 1.2167
@@ -10524,6 +10524,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>
@@ -10540,6 +10542,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>;
@@ -35824,6 +35828,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>;
@@ -37572,7 +37578,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 -->

Received on Monday, 27 April 2009 23:56:38 UTC