HTML Standard Tracker

Diff (omit for latest revision)
Filter

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

File a bug

SVNBugCommentTime (UTC)
3003Move onundo and onredo from Document to Window.2009-04-27 23:50
Index: source
===================================================================
--- source	(revision 3002)
+++ source	(revision 3003)
@@ -12680,8 +12680,10 @@
    <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>
@@ -12694,8 +12696,10 @@
            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>
@@ -45444,11 +45448,13 @@
            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>
 
@@ -47595,8 +47601,10 @@
     <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>
 
@@ -58729,7 +58737,7 @@
   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>
 
@@ -58771,7 +58779,7 @@
   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>
 

|