[whatwg] UndoManager: restoring selection after undoing deletion

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?

Received on Wednesday, 26 October 2011 10:59:15 UTC