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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 05 Aug 2011 10:41:11 +0200
Message-ID: <op.vzqfqxar64w2qv@annevk-macbookpro.local>
On Fri, 05 Aug 2011 02:31:10 +0200, Ryosuke Niwa <rniwa at webkit.org> wrote:
> Not sure.  This happens all the time in design mode.  We've had plenty of
> crash reports that only reproduce when there are no document element.
> It might also be hard to implement such a behavior in WebKit at least
> because documents / frames have the undo stack managed by OS X or  
> embedders and having to fake non-existence of the undo stack might be  
> tricky.

Fair enough, maybe it would be best to say there's an undo stack scoped to  
Document nodes, but exposed on its documentElement to keep the API simple  
(only on Element nodes).

Anne van Kesteren
Received on Friday, 5 August 2011 01:41:11 UTC

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