- From: Rakesh Chaitanya KN <kgdn63@motorola.com>
- Date: Thu, 14 Jun 2012 14:53:09 +0530
- To: whatwg@whatwg.org
Hi, The specs for undo manager<http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html> which is at its early stages is a bit confusing at following locations: *2.2.1 Undo scope and contenteditable* * * *When the contenteditable content attribute is added to an element, the user agent must remove all entries in the undo transaction histories of the editable undo scope hosts that are descendent of the element and have become editable without unapplying or reapplying the entries and disconnect the corresponding UndoManagers as if the undoscope content attribute was removed from all descendent nodes excluding undo scope hosts and their descendents.* What does "editable undo hosts" imply here? Also when contenteditable is added to an element all the descendant elements become editable, so none of the descendants should be a undo scope host as "undoscope content attribute on an editable element is ignored". So is "*excluding undo scope hosts and their descendents*" valid? Maybe there are some use cases I am not aware of but two statements seem contradicting. -- Regards, Rakesh
Received on Thursday, 14 June 2012 09:23:46 UTC