Fix typos. UndoManager.transact() should take DOMTransaction and the example in section 2.2.1 should have =false on contenteditable attribute, not undoscope attribute
--- 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>
<div id="container">
<div undoscope>This will be editable</div>
- <div contenteditable undoscope="false">This will remain not editable.</div>
+ <div contenteditable="false" undoscope>This will remain not editable.</div>
</div>
<script>
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><div id="container">
<div undoscope>This will be editable</div>
- <div contenteditable undoscope="false">This will remain not editable.</div>
+ <div contenteditable="false" undoscope>This will remain not editable.</div>
</div>
<script>
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);