[whatwg] UndoManager: restoring selection after undoing deletion
ayg at aryeh.name
Wed Oct 26 10:59:15 PDT 2011
On Thu, Oct 20, 2011 at 3:16 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> However, there's no easy way for the user agent to figure out whether a
> given transaction wants to select some contents on undo or not. In fact, we
> don't even know whether we want to restore selection at all. If an automatic
> transaction was modifying non-text nodes (e.g. SVG line elements), then
> restoring selection isn't desirable at all.
I think I'm missing something: why isn't it desirable?
More information about the whatwg