[whatwg] Fixing undo on the Web - UndoManager and Transaction
Anne van Kesteren
annevk at opera.com
Fri Aug 5 01:41:11 PDT 2011
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
http://annevankesteren.nl/
More information about the whatwg
mailing list