Update the description in the example for section 2.2.1
authorRyosuke Niwa <rniwa@webkit.org>
Sun, 22 Jul 2012 16:36:44 -0700
changeset 18 bd3820a27e2d
parent 17 f2ae34aef445
child 19 e0d51f4b3b45
Update the description in the example for section 2.2.1
source.html
undomanager.html
--- a/source.html	Sun Jul 22 16:24:59 2012 -0700
+++ b/source.html	Sun Jul 22 16:36:44 2012 -0700
@@ -154,9 +154,11 @@
     non-<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable">editable</a> due to the change.</p>
 
     <div class="example">
-        <p>In the following example, Because <code><a href="#dom-undomanager-item">item()</a></code> returns new array on each call,
-        modifying the array does not have any effect on the sequence of <a href="#dom-transaction">DOM transactions</a> of the entry,
-        and two return values of <code><a href="#dom-undomanager-item">item()</a></code> are alwys different objects.</p>
+        <p>In the following example, the first child element of the container becomes editable when the container's
+        <code>contentEditable</code> IDL is set to true, resulting in the first child element's <code><a href="#undomanager">UndoManager</a></code>
+        to be <a href="#disconnect-undomanager">disconnected</a>.
+        The second child element's <code><a href="#undomanager">UndoManager</a></code> isn't <a href="#disconnect-undomanager">disconnected</a>
+        because the second child did not become editable as a result of the assignment.</p>
 
         <pre>
 &lt;div id="container"&gt;
--- a/undomanager.html	Sun Jul 22 16:24:59 2012 -0700
+++ b/undomanager.html	Sun Jul 22 16:36:44 2012 -0700
@@ -182,9 +182,11 @@
     non-<a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable>editable</a> due to the change.</p>
 
     <div class=example>
-        <p>In the following example, Because <code><a href=#dom-undomanager-item>item()</a></code> returns new array on each call,
-        modifying the array does not have any effect on the sequence of <a href=#dom-transaction>DOM transactions</a> of the entry,
-        and two return values of <code><a href=#dom-undomanager-item>item()</a></code> are alwys different objects.</p>
+        <p>In the following example, the first child element of the container becomes editable when the container's
+        <code>contentEditable</code> IDL is set to true, resulting in the first child element's <code><a href=#undomanager>UndoManager</a></code>
+        to be <a href=#disconnect-undomanager>disconnected</a>.
+        The second child element's <code><a href=#undomanager>UndoManager</a></code> isn't <a href=#disconnect-undomanager>disconnected</a>
+        because the second child did not become editable as a result of the assignment.</p>
 
         <pre>&lt;div id="container"&gt;
     &lt;div undoscope&gt;This will be editable&lt;/div&gt;