Fix typos. UndoManager.transact() should take DOMTransaction and the example in section 2.2.1 should have =false on contenteditable attribute, not undoscope attribute
authorRyosuke Niwa <rniwa@webkit.org>
Sun, 22 Jul 2012 16:24:59 -0700
changeset 17 f2ae34aef445
parent 16 77b8999a67d6
child 18 bd3820a27e2d
Fix typos. UndoManager.transact() should take DOMTransaction and the example in section 2.2.1 should have =false on contenteditable attribute, not undoscope attribute
source.html
undomanager.html
--- a/source.html	Wed Jul 04 15:23:45 2012 -0700
+++ b/source.html	Sun Jul 22 16:24:59 2012 -0700
@@ -161,7 +161,7 @@
         <pre>
 &lt;div id="container"&gt;
     &lt;div undoscope&gt;This will be editable&lt;/div&gt;
-    &lt;div contenteditable undoscope="false"&gt;This will remain not editable.&lt;/div&gt;
+    &lt;div contenteditable="false" undoscope&gt;This will remain not editable.&lt;/div&gt;
 &lt;/div&gt;
 &lt;script&gt;
 var container = document.getElementById('container');
@@ -195,7 +195,7 @@
     <p>To manage transaction entries in the undo transaction history, the <code><a href="#undomanager">UndoManager</a></code> interface can be used:</p>
 
     <pre class="idl">interface <dfn id="undomanager">UndoManager</dfn> {
-    void <a href="#dom-undomanager-transact" title="dom-UndoManager-transact">transact</a>(in Object transaction, in boolean merge);
+    void <a href="#dom-undomanager-transact" title="dom-UndoManager-transact">transact</a>(in DOMTransaction transaction, in boolean merge);
     void <a href="#dom-undomanager-undo" title="dom-UndoManager-undo">undo</a>();
     void <a href="#dom-undomanager-redo" title="dom-UndoManager-redo">redo</a>();
     getter DOMTransaction[] <a href="#dom-undomanager-item" title="dom-UndoManager-item">item</a>(in unsigned long index);
--- a/undomanager.html	Wed Jul 04 15:23:45 2012 -0700
+++ b/undomanager.html	Sun Jul 22 16:24:59 2012 -0700
@@ -188,7 +188,7 @@
 
         <pre>&lt;div id="container"&gt;
     &lt;div undoscope&gt;This will be editable&lt;/div&gt;
-    &lt;div contenteditable undoscope="false"&gt;This will remain not editable.&lt;/div&gt;
+    &lt;div contenteditable="false" undoscope&gt;This will remain not editable.&lt;/div&gt;
 &lt;/div&gt;
 &lt;script&gt;
 var container = document.getElementById('container');
@@ -222,7 +222,7 @@
     <p>To manage transaction entries in the undo transaction history, the <code><a href=#undomanager>UndoManager</a></code> interface can be used:</p>
 
     <pre class=idl>interface <dfn id=undomanager>UndoManager</dfn> {
-    void <a href=#dom-undomanager-transact title=dom-UndoManager-transact>transact</a>(in Object transaction, in boolean merge);
+    void <a href=#dom-undomanager-transact title=dom-UndoManager-transact>transact</a>(in DOMTransaction transaction, in boolean merge);
     void <a href=#dom-undomanager-undo title=dom-UndoManager-undo>undo</a>();
     void <a href=#dom-undomanager-redo title=dom-UndoManager-redo>redo</a>();
     getter DOMTransaction[] <a href=#dom-undomanager-item title=dom-UndoManager-item>item</a>(in unsigned long index);