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

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

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Fri, 5 Aug 2011 10:01:05 -0700
Message-ID: <CABNRm63Dt8h1OPPhE6YqYS99-tcRSnT89RXNkUaib4P3F1cUDg@mail.gmail.com>
On Fri, Aug 5, 2011 at 9:57 AM, Jonas Sicking <jonas at sicking.cc> wrote:

> Why treat documentElement specially here? Just make the documentElement
> *not* have a undoManager by default and have it just use it's ancestor's,
> just like all other elements.
> The document is an ancestor of the documentElement after all.
Anne had a different idea to make documentElement have the root undoManager
to avoid adding a new property to Document.  I personally like your approach
but I don't know enough about Web IDLs to give a call.

Anyone else have opinions on this?

- Ryosuke
Received on Friday, 5 August 2011 10:01:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC