--- a/source.html Wed Jul 04 14:51:09 2012 -0700
+++ b/source.html Wed Jul 04 15:06:39 2012 -0700
@@ -19,7 +19,7 @@
<dt>Acknowledgements</dt>
<dd>Anne van Kesteren, Annie Sullivan, Alex Russell, Alex Vincent, Aryeh Gregor, Caio Marcelo de Oliveira Filho, Ehsan Akhgari, Eric Uhrhane,
-Frederico Caldeira Knabben, Ian Hickson, Johan "Spocke" Sörlin, Jonas Sicking, Ojan Vafai, Olli Pettay, Sukolsak Sakshuwong</dd>
+Frederico Caldeira Knabben, Ian Hickson, Johan "Spocke" Sörlin, Jonas Sicking, Ojan Vafai, Olli Pettay, Rakesh Chaitanya KN, Sukolsak Sakshuwong</dd>
<dt>Latest version:</dt>
<dd><a href="http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html">
@@ -137,20 +137,19 @@
<h4>Undo scope and contenteditable</h4>
<p><code><a href="http://www.whatwg.org/specs/web-apps/current-work/#attr-contenteditable">contenteditable</a></code> content attribute does not define a new <a href="#undo-scope">undo scope</a>
and all <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editing-host">editing hosts</a> share the same <code><a href="#undomanager">UndoManager</a></code> by default.
- And the <code><a href="#attr-undoscope">undoscope</a></code> content attribute on an <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable">editable</a> element is ignored.</p>
+ And the <code><a href="#attr-undoscope">undoscope</a></code> content attribute on an <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable">editable</a> element is ignored
+ except on <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editing-host">editing hosts</a>.</p>
- <p>When the <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable">contenteditable</a></code> content attribute is added to an element,
- the user agent must remove all entries in the <a href="#undo-transaction-history">undo transaction histories</a> of the editable <a href="#undo-scope">undo scope hosts</a> that are descendent of the element
- and have become <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable">editable</a> without <a href="#dom-transaction-unapply">unapplying</a> or <a href="#dom-transaction-reapply">reapplying</a> the entries
- and <a href="#disconnect-undomanager">disconnect</a> the corresponding <code><a href="#undomanager">UndoManager</a></code>s
- as if the <code><a href="#attr-undoscope">undoscope</a></code> content attribute was removed from all descendent nodes
- excluding <a href="#undo-scope-host">undo scope hosts</a> and their descendents.</p>
+ <p>When the <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable">contenteditable</a></code> content attribute is set to <code>true</code> on an element,
+ the user agent must <a href="#disconnect-undomanager">disconnect</a> the <code><a href="#undomanager">UndoManager</a></code>s
+ of all descendent <a href="#undo-scope">undo scope hosts</a> of the element that have become
+ <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable">editable</a> due to the change
+ as if the <code><a href="#attr-undoscope">undoscope</a></code> content attribute was removed from those nodes.</p>
- <p>Conversely, when the <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable">contenteditable</a></code> content attribute is removed from an element,
- the user agent must define new <a href="#undo-scope">undo scope</a> for each descendent element with the <code><a href="#attr-undoscope">undoscope</a></code> content attribute
- and create a new <code><a href="#undomanager">UndoManager</a></code> to manage any <a href="#dom-changes">DOM changes</a> made to descendents of each element,
- excluding <a href="#undo-scope-host">undo scope hosts</a> and their descendents, as if the <code><a href="#attr-undoscope">undoscope</a></code> content attribute was re-added to descendent elements with
- the <code><a href="#attr-undoscope">undoscope</a></code> content attribute.</p>
+ <p>Conversely, when the <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable">contenteditable</a></code>
+ content attribute is removed from an element or set to <code>false</code>, the user agent must behave as if
+ <code><a href="#attr-undoscope">undoscope</a></code> content attribute is removed and added back to all descendent nodes of the element that have become
+ non-<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable">editable</a> due to the change.</p>
<h4>undoScope IDL attribute</h4>
--- a/undomanager.html Wed Jul 04 14:51:09 2012 -0700
+++ b/undomanager.html Wed Jul 04 15:06:39 2012 -0700
@@ -16,8 +16,8 @@
</dd>
<dt>Acknowledgements</dt>
-<dd>Anne van Kesteren, Annie Sullivan, Alex Russell, Alex Vincent, Aryeh Gregor, Ehsan Akhgari, Eric Uhrhane,
-Frederico Caldeira Knabben, Ian Hickson, Johan "Spocke" Sörlin, Jonas Sicking, Ojan Vafai, Olli Pettay, Sukolsak Sakshuwong</dd>
+<dd>Anne van Kesteren, Annie Sullivan, Alex Russell, Alex Vincent, Aryeh Gregor, Caio Marcelo de Oliveira Filho, Ehsan Akhgari, Eric Uhrhane,
+Frederico Caldeira Knabben, Ian Hickson, Johan "Spocke" Sörlin, Jonas Sicking, Ojan Vafai, Olli Pettay, Rakesh Chaitanya KN, Sukolsak Sakshuwong</dd>
<dt>Latest version:</dt>
<dd><a href=http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html>
@@ -165,20 +165,19 @@
<h4 id=undo-scope-and-contenteditable><span class=secno>2.2.1 </span>Undo scope and contenteditable</h4>
<p><code><a href=http://www.whatwg.org/specs/web-apps/current-work/#attr-contenteditable>contenteditable</a></code> content attribute does not define a new <a href=#undo-scope>undo scope</a>
and all <a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editing-host>editing hosts</a> share the same <code><a href=#undomanager>UndoManager</a></code> by default.
- And the <code><a href=#attr-undoscope>undoscope</a></code> content attribute on an <a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable>editable</a> element is ignored.</p>
+ And the <code><a href=#attr-undoscope>undoscope</a></code> content attribute on an <a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable>editable</a> element is ignored
+ except on <a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editing-host>editing hosts</a>.</p>
- <p>When the <code><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable>contenteditable</a></code> content attribute is added to an element,
- the user agent must remove all entries in the <a href=#undo-transaction-history>undo transaction histories</a> of the editable <a href=#undo-scope>undo scope hosts</a> that are descendent of the element
- and have become <a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable>editable</a> without <a href=#dom-transaction-unapply>unapplying</a> or <a href=#dom-transaction-reapply>reapplying</a> the entries
- and <a href=#disconnect-undomanager>disconnect</a> the corresponding <code><a href=#undomanager>UndoManager</a></code>s
- as if the <code><a href=#attr-undoscope>undoscope</a></code> content attribute was removed from all descendent nodes
- excluding <a href=#undo-scope-host>undo scope hosts</a> and their descendents.</p>
+ <p>When the <code><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable>contenteditable</a></code> content attribute is set to <code>true</code> on an element,
+ the user agent must <a href=#disconnect-undomanager>disconnect</a> the <code><a href=#undomanager>UndoManager</a></code>s
+ of all descendent <a href=#undo-scope>undo scope hosts</a> of the element that have become
+ <a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable>editable</a> due to the change
+ as if the <code><a href=#attr-undoscope>undoscope</a></code> content attribute was removed from those nodes.</p>
- <p>Conversely, when the <code><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable>contenteditable</a></code> content attribute is removed from an element,
- the user agent must define new <a href=#undo-scope>undo scope</a> for each descendent element with the <code><a href=#attr-undoscope>undoscope</a></code> content attribute
- and create a new <code><a href=#undomanager>UndoManager</a></code> to manage any <a href=#dom-changes>DOM changes</a> made to descendents of each element,
- excluding <a href=#undo-scope-host>undo scope hosts</a> and their descendents, as if the <code><a href=#attr-undoscope>undoscope</a></code> content attribute was re-added to descendent elements with
- the <code><a href=#attr-undoscope>undoscope</a></code> content attribute.</p>
+ <p>Conversely, when the <code><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable>contenteditable</a></code>
+ content attribute is removed from an element or set to <code>false</code>, the user agent must behave as if
+ <code><a href=#attr-undoscope>undoscope</a></code> content attribute is removed and added back to all descendent nodes of the element that have become
+ non-<a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#editable>editable</a> due to the change.</p>
<h4 id=undoscope-idl-attribute><span class=secno>2.2.2 </span>undoScope IDL attribute</h4>