|
Undo of delete/forward-delete of a word should not select the deleted word on non-mac platforms
Currently on deleting a word(character granularity or by ctrl+backspace)
and undoing it,the deleted word gets selected.
Instead it should not be selected and the caret should be placed at the
position from where the deletion was actually started.
This patch introduces this behavior change for non-mac platforms.
This is achieved by not setting a new starting selection after every
delete.
This aligns chrome behavior with that of IE and FF wrt selection of
deleted words.
R=ojan, yosin
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160868
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+140 lines, -137 lines) |
Patch |
|
M |
LayoutTests/editing/deleting/delete-ligature-003-expected.txt
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-combined-delete.html
|
View
|
1
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-combined-delete-boundary.html
|
View
|
1
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-combined-delete-boundary-expected.txt
|
View
|
1
|
1 chunk |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-combined-delete-expected.txt
|
View
|
1
|
1 chunk |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-delete.html
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-delete-boundary.html
|
View
|
1
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-delete-boundary-expected.txt
|
View
|
1
|
1 chunk |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-delete-expected.txt
|
View
|
1
|
1 chunk |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-forward-delete.html
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-forward-delete-boundary.html
|
View
|
1
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-forward-delete-boundary-expected.txt
|
View
|
1
|
1 chunk |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
LayoutTests/editing/undo/undo-forward-delete-expected.txt
|
View
|
1
|
1 chunk |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
Source/core/editing/EditingBehavior.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/editing/TypingCommand.cpp
|
View
|
1
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|