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

Ryosuke Niwa rniwa at webkit.org
Fri Aug 5 10:01:05 PDT 2011

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

More information about the whatwg mailing list