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

Ehsan Akhgari ehsan at mozilla.com
Wed Aug 3 13:42:25 PDT 2011


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



More information about the whatwg mailing list