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

Ryosuke Niwa rniwa at webkit.org
Thu Sep 1 12:04:27 PDT 2011


On Thu, Sep 1, 2011 at 11:55 AM, Alex Vincent <ajvincent at gmail.com> wrote:

> On Thu, Sep 1, 2011 at 11:36 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>
>> Implementing it in JavaScript will be somewhat challenging because
>> managed/automatic transactions need to keep track of all changes made by a
>> function it's calling.  It'll require a heavy use of mutation events (and
>> they're going away!)
>>
>>
> Not necessarily.  We can use a DOM implemented in JavaScript, a la
> http://www.envjs.com/.  That wouldn't require mutation events, since we
> could customize the DOM code before running it.
>

Please go ahead and make one if you're so inclined because I personally
don't have a time to do it myself.

- Ryosuke



More information about the whatwg mailing list