Skip to content

Commit

Permalink
[] (0) Move onundo and onredo from Document to Window.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3003 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 27, 2009
1 parent d92adfd commit 0497e5f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions index
Expand Up @@ -11859,8 +11859,10 @@ not-slash = %x0000-002E / %x0030-%10FFFF
<dd><code title=handler-window-onoffline><a href=#handler-window-onoffline>onoffline</a></code></dd>
<dd><code title=handler-window-ononline><a href=#handler-window-ononline>ononline</a></code></dd>
<dd><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></dd>
<dd><code title=handler-window-onredo><a href=#handler-window-onredo>onredo</a></code></dd>
<dd><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></dd>
<dd><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></dd>
<dd><code title=handler-window-onundo><a href=#handler-window-onundo>onundo</a></code></dd>
<dd><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></dd>
<dt>DOM interface:</dt>
<dd>
Expand All @@ -11873,8 +11875,10 @@ not-slash = %x0000-002E / %x0030-%10FFFF
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>
</dd>
Expand Down Expand Up @@ -40233,11 +40237,13 @@ interface <dfn id=window>Window</dfn> {
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-onoffline title=handler-window-onoffline>onoffline</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-onscroll title=handler-onscroll>onscroll</a>;
attribute <a href=#function>Function</a> <a href=#handler-onselect title=handler-onselect>onselect</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-onsubmit title=handler-onsubmit>onsubmit</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>

Expand Down Expand Up @@ -42073,8 +42079,10 @@ interface <dfn id=function>Function</dfn> {
<tr><td><dfn id=handler-window-onoffline title=handler-window-onoffline><code>onoffline</code></dfn> <td> <code title=event-offline><a href=#event-offline>offline</a></code> <!-- new -->
<tr><td><dfn id=handler-window-ononline title=handler-window-ononline><code>ononline</code></dfn> <td> <code title=event-online><a href=#event-online>online</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onpopstate title=handler-window-onpopstate><code>onpopstate</code></dfn> <td> <code title=event-popstate><a href=#event-popstate>popstate</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onredo title=handler-window-onredo><code>onredo</code></dfn> <td> <code title=event-redo><a href=#event-redo>redo</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onresize title=handler-window-onresize><code>onresize</code></dfn> <td> <code title=event-resize>resize</code> <!-- widely used --> <!-- XXX should define when it fires -->
<tr><td><dfn id=handler-window-onstorage title=handler-window-onstorage><code>onstorage</code></dfn> <td> <code title=event-storage>storage</code> <!-- new -->
<tr><td><dfn id=handler-window-onundo title=handler-window-onundo><code>onundo</code></dfn> <td> <code title=event-undo><a href=#event-undo>undo</a></code> <!-- new -->
<tr><td><dfn id=handler-window-onunload title=handler-window-onunload><code>onunload</code></dfn> <td> <code title=event-unload>unload</code> <!-- widely used -->
</table><p class=note>The <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>
handler is also used for <a href=#runtime-script-errors>reporting script errors</a>.</p>
Expand Down Expand Up @@ -50263,7 +50271,7 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr
<p>If the entry immediately before the <a href=#undo-position>undo position</a> is
an <a href=#undo-object>undo object</a> entry, then the user agent must first
remove that <a href=#undo-object>undo object</a> entry from the <a href=#undo-transaction-history>undo
transaction history</a>, and then must fire an <code title=event-undo><a href=#event-undo>undo</a></code> event on the <code>Document</code>
transaction history</a>, and then must fire an <code title=event-undo><a href=#event-undo>undo</a></code> event at the <code><a href=#window>Window</a></code>
object, using the <a href=#undo-object>undo object</a> entry's associated undo
object as the event's data.</p>

Expand Down Expand Up @@ -50303,7 +50311,7 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr
<p>If the entry immediately after the <a href=#undo-position>undo position</a> is
an <a href=#undo-object>undo object</a> entry, then the user agent must first
remove that <a href=#undo-object>undo object</a> entry from the <a href=#undo-transaction-history>undo
transaction history</a>, and then must fire a <code title=event-undo><a href=#event-undo>redo</a></code> event on the <code>Document</code>
transaction history</a>, and then must fire a <code title=event-redo><a href=#event-redo>redo</a></code> event at the <code><a href=#window>Window</a></code>
object, using the <a href=#undo-object>undo object</a> entry's associated undo
object as the event's data.</p>

Expand Down
12 changes: 10 additions & 2 deletions source
Expand Up @@ -12680,8 +12680,10 @@ not-slash = %x0000-002E / %x0030-%10FFFF
<dd><code title="handler-window-onoffline">onoffline</code></dd>
<dd><code title="handler-window-ononline">ononline</code></dd>
<dd><code title="handler-window-onpopstate">onpopstate</code></dd>
<dd><code title="handler-window-onredo">onredo</code></dd>
<dd><code title="handler-window-onresize">onresize</code></dd>
<dd><code title="handler-window-onstorage">onstorage</code></dd>
<dd><code title="handler-window-onundo">onundo</code></dd>
<dd><code title="handler-window-onunload">onunload</code></dd>
<dt>DOM interface:</dt>
<dd>
Expand All @@ -12694,8 +12696,10 @@ not-slash = %x0000-002E / %x0030-%10FFFF
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>
</dd>
Expand Down Expand Up @@ -45444,11 +45448,13 @@ interface <dfn>Window</dfn> {
attribute <span>Function</span> <span title="handler-window-ononline">ononline</span>;
attribute <span>Function</span> <span title="handler-window-onoffline">onoffline</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-onscroll">onscroll</span>;
attribute <span>Function</span> <span title="handler-onselect">onselect</span>;
attribute <span>Function</span> <span title="handler-window-onstorage">onstorage</span>;
attribute <span>Function</span> <span title="handler-onsubmit">onsubmit</span>;
attribute <span>Function</span> <span title="handler-window-onundo">onundo</span>;
attribute <span>Function</span> <span title="handler-window-onunload">onunload</span>;
};</pre>

Expand Down Expand Up @@ -47595,8 +47601,10 @@ interface <dfn>Function</dfn> {
<tr><td><dfn title="handler-window-onoffline"><code>onoffline</code></dfn> <td> <code title="event-offline">offline</code> <!-- new -->
<tr><td><dfn title="handler-window-ononline"><code>ononline</code></dfn> <td> <code title="event-online">online</code> <!-- new -->
<tr><td><dfn title="handler-window-onpopstate"><code>onpopstate</code></dfn> <td> <code title="event-popstate">popstate</code> <!-- new -->
<tr><td><dfn title="handler-window-onredo"><code>onredo</code></dfn> <td> <code title="event-redo">redo</code> <!-- new -->
<tr><td><dfn title="handler-window-onresize"><code>onresize</code></dfn> <td> <code title="event-resize">resize</code> <!-- widely used --> <!-- XXX should define when it fires -->
<tr><td><dfn title="handler-window-onstorage"><code>onstorage</code></dfn> <td> <code title="event-storage">storage</code> <!-- new -->
<tr><td><dfn title="handler-window-onundo"><code>onundo</code></dfn> <td> <code title="event-undo">undo</code> <!-- new -->
<tr><td><dfn title="handler-window-onunload"><code>onunload</code></dfn> <td> <code title="event-unload">unload</code> <!-- widely used -->
</table>

Expand Down Expand Up @@ -58729,7 +58737,7 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr
an <span>undo object</span> entry, then the user agent must first
remove that <span>undo object</span> entry from the <span>undo
transaction history</span>, and then must fire an <code
title="event-undo">undo</code> event on the <code>Document</code>
title="event-undo">undo</code> event at the <code>Window</code>
object, using the <span>undo object</span> entry's associated undo
object as the event's data.</p>

Expand Down Expand Up @@ -58771,7 +58779,7 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr
an <span>undo object</span> entry, then the user agent must first
remove that <span>undo object</span> entry from the <span>undo
transaction history</span>, and then must fire a <code
title="event-undo">redo</code> event on the <code>Document</code>
title="event-redo">redo</code> event at the <code>Window</code>
object, using the <span>undo object</span> entry's associated undo
object as the event's data.</p>

Expand Down

0 comments on commit 0497e5f

Please sign in to comment.