W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

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

From: Ehsan Akhgari <ehsan@mozilla.com>
Date: Wed, 03 Aug 2011 16:42:25 -0400
Message-ID: <4E39B2B1.4020506@mozilla.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:08 UTC