[whatwg] UndoManager: restoring selection after undoing deletion

Glenn Maynard glenn at zewt.org
Wed Oct 26 13:25:12 PDT 2011


On Wed, Oct 26, 2011 at 4:21 PM, Aryeh Gregor <ayg at aryeh.name> wrote:

> I was assuming that Ryosuke meant that the word "world" was selected,
> and the user hit delete, then undo.  So it was selected before the
> delete, and undoing should re-select it.
>

No text is selected, the user hits control-backspace, and then undo.  The
restored word "world" now may or may not be selected, depending on the UA
and platform.

-- 
Glenn Maynard



More information about the whatwg mailing list