Move onundo and onredo from Document to Window. (whatwg r3003)

Move onundo and onredo from Document to Window. (whatwg r3003)

onstorage
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-onstorage
4.4.1 The body element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#the-body-element
HTMLBodyElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#htmlbodyelement
onresize
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-onresize
onunload
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-onunload
onpopstate
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-onpopstate
6.10.5 Redo: moving forward in the undo transaction history
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#redo:-moving-forward-in-the-undo-transaction-history
onundo
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-onundo
onredo
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-onredo
Window
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#window
ononline
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-ononline
6.10.4 Undo: moving back in the undo transaction history
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#undo:-moving-back-in-the-undo-transaction-history
onoffline
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2166.html#handler-window-onoffline

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

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2165
retrieving revision 1.2166
diff -u -d -r1.2165 -r1.2166
--- Overview.html 27 Apr 2009 23:19:16 -0000 1.2165
+++ Overview.html 27 Apr 2009 23:50:54 -0000 1.2166
@@ -10532,8 +10532,10 @@
    <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>
@@ -10546,8 +10548,10 @@
            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>
@@ -35850,11 +35854,13 @@
            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><!-- XXX http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
           http://www.mozilla.org/docs/dom/domref/dom_window_ref.html
@@ -37574,8 +37580,10 @@
     <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>
@@ -44907,7 +44915,7 @@
   <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>
 
@@ -44947,7 +44955,7 @@
   <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>

Received on Monday, 27 April 2009 23:53:06 UTC