Skip to content
Browse files

[] (0) Add onbeforeprint and onafterprint.

git-svn-id: http://svn.whatwg.org/webapps@3004 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 0497e5f commit 88fe3054919cec5d425f17e095a94fd2ee1c9a11 @Hixie Hixie committed
Showing with 17 additions and 1 deletion.
  1. +9 −1 index
  2. +8 −0 source
View
10 index
@@ -11851,6 +11851,8 @@ not-slash = %x0000-002E / %x0030-%10FFFF
<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 @@ not-slash = %x0000-002E / %x0030-%10FFFF
<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 @@ interface <dfn id=window>Window</dfn> {
// <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 @@ interface <dfn id=function>Function</dfn> {
<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 -->
View
8 source
@@ -12672,6 +12672,8 @@ not-slash = %x0000-002E / %x0030-%10FFFF
<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 @@ not-slash = %x0000-002E / %x0030-%10FFFF
<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 @@ interface <dfn>Window</dfn> {
// <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 @@ interface <dfn>Function</dfn> {
<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 -->

0 comments on commit 88fe305

Please sign in to comment.
Something went wrong with that request. Please try again.