"transpose" command should not change selection when if it is canceled by beforeinput |
||||
Issue descriptionWhen "transpose" command is canceled by "beforeinput" event handler, Blink change selection at L1413. Note: This issue is found by looking issue 704036 void Editor::transpose() { .... 1410 // Select the two characters. 1411 if (createVisibleSelection(newSelection) != 1412 frame().selection().computeVisibleSelectionInDOMTreeDeprecated()) 1413 frame().selection().setSelection(newSelection); 1414 1415 if (dispatchBeforeInputInsertText( 1416 eventTargetNodeForDocument(frame().document()), transposed, 1417 InputEvent::InputType::InsertTranspose) != 1418 DispatchEventResult::NotCanceled) 1419 return;
,
Jan 10 2018
,
Jan 11 2018
Un-assigning myself so others can pick up.
,
Jan 14
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||
►
Sign in to add a comment |
||||
Comment 1 by xiaoche...@chromium.org
, Nov 22 2017