On Fri, 05 Aug 2011 02:31:10 +0200, Ryosuke Niwa <rn...@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/

Reply via email to