Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior-expected.txt

Issue 43143003: Undo of delete/forward-delete of text should not select the deleted text on non-mac platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior-expected.txt
diff --git a/LayoutTests/platform/win/editing/undo/undo-delete-boundary-expected.txt b/LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior-expected.txt
similarity index 77%
copy from LayoutTests/platform/win/editing/undo/undo-delete-boundary-expected.txt
copy to LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior-expected.txt
index 52dc8243d3330596756cee9632d7997c639a1c88..274dbbd477dc95ab5b6783ad40396090dd4f248a 100644
--- a/LayoutTests/platform/win/editing/undo/undo-delete-boundary-expected.txt
+++ b/LayoutTests/editing/undo/undo-combined-delete-boundary-linux-behavior-expected.txt
@@ -3,7 +3,6 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
@@ -11,6 +10,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
@@ -21,16 +21,15 @@ layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #FF0000)]
- RenderInline {SPAN} at (0,0) size 722x55
+ RenderInline {SPAN} at (0,0) size 736x55
RenderText {#text} at (14,14) size 76x27
text run at (14,14) width 76: "This wo"
RenderInline {B} at (0,0) size 30x26
RenderText {#text} at (90,14) size 30x26
text run at (90,14) width 30: "rd "
- RenderText {#text} at (120,14) size 722x55
- text run at (120,14) width 610: "should be selected, since the test deleted it a character at a time"
- text run at (730,14) width 6: " "
- text run at (14,42) width 208: "and then did an undo."
+ RenderText {#text} at (120,14) size 736x55
+ text run at (120,14) width 612: "should not be selected, and the caret should be after 'o' in 'word'"
+ text run at (732,14) width 6: " "
+ text run at (14,42) width 736: "since the test began deleting operation starting from 'o' and then did an undo."
RenderText {#text} at (0,0) size 0x0
-selection start: position 5 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
-selection end: position 2 of child 0 {#text} of child 1 {B} of child 1 {SPAN} of child 1 {DIV} of body
+caret: position 7 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body

Powered by Google App Engine
This is Rietveld 408576698