[whatwg] Fixing undo on the Web - UndoManager and Transaction

On 11-08-03 2:55 AM, Anne van Kesteren wrote:
> On Wed, 03 Aug 2011 00:02:58 +0200, Ehsan Akhgari <ehsan at mozilla.com>
> wrote:
>> By this definition, it's ambiguous what needs to happen to the
>> documentElement's undoScope attribute, since it doesn't have an
>> element ancestor. I think we should just clarify that in that case,
>> the value is "true", and the undoManager attribute is the same as
>> document.undoManager.
>
> Maybe those should be merged? That way we do not need to extend Document.

You mean contentEditable and undoScope?  That would prohibit the use 
case of a web application which is not using contentEditable taking 
advantage of UndoManager...

Ehsan

Received on Wednesday, 3 August 2011 13:42:25 UTC