[html5] r3003 - [] (0) Move onundo and onredo from Document to Window.

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 27 16:50:51 PDT 2009


Author: ianh
Date: 2009-04-27 16:50:50 -0700 (Mon, 27 Apr 2009)
New Revision: 3003

Modified:
   index
   source
Log:
[] (0) Move onundo and onredo from Document to Window.

Modified: index
===================================================================
--- index	2009-04-27 23:19:11 UTC (rev 3002)
+++ index	2009-04-27 23:50:50 UTC (rev 3003)
@@ -11859,8 +11859,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>
@@ -11873,8 +11875,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>
@@ -40233,11 +40237,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>
 
@@ -42073,8 +42079,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>
@@ -50263,7 +50271,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>
 
@@ -50303,7 +50311,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>
 

Modified: source
===================================================================
--- source	2009-04-27 23:19:11 UTC (rev 3002)
+++ source	2009-04-27 23:50:50 UTC (rev 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>
 




More information about the Commit-Watchers mailing list