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

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

Issue 43523002: Make tests related to undo word deletion platform independent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: All tests modified 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-expected.txt
diff --git a/LayoutTests/editing/undo/undo-combined-delete-boundary-expected.txt b/LayoutTests/editing/undo/undo-combined-delete-boundary-expected.txt
index 3a0aa14716295625e910783e6abe74b2e79e97b6..224cdeb27399b300b0f98c785e89777c62a2892b 100644
--- a/LayoutTests/editing/undo/undo-combined-delete-boundary-expected.txt
+++ b/LayoutTests/editing/undo/undo-combined-delete-boundary-expected.txt
@@ -1,36 +1,32 @@
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-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
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-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 731x56
- RenderText {#text} at (14,14) size 78x28
- text run at (14,14) width 78: "This wo"
- RenderInline {B} at (0,0) size 30x28
- RenderText {#text} at (92,14) size 30x28
- text run at (92,14) width 30: "rd "
- RenderText {#text} at (122,14) size 731x56
- text run at (122,14) width 617: "should be selected, since the test deleted it a character at a time"
- text run at (739,14) width 6: " "
- text run at (14,42) width 209: "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
+mac
+PASS selection.anchorNode.data is "This wo"
+PASS selection.anchorOffset is 5
+PASS selection.focusNode.data is "rd "
+PASS selection.focusOffset is 2
+PASS selection.toString() is "word"
+PASS $("test").innerHTML is "This wo<b>rd </b>should be selected."
+win
+PASS selection.anchorNode.data is "This wo"
+PASS selection.anchorOffset is 5
+PASS selection.focusNode.data is "rd "
+PASS selection.focusOffset is 2
+PASS selection.toString() is "word"
+PASS $("test").innerHTML is "This wo<b>rd </b>should be selected."
+unix
+PASS selection.anchorNode.data is "This wo"
+PASS selection.anchorOffset is 5
+PASS selection.focusNode.data is "rd "
+PASS selection.focusOffset is 2
+PASS selection.toString() is "word"
+PASS $("test").innerHTML is "This wo<b>rd </b>should be selected."
+android
+PASS selection.anchorNode.data is "This wo"
+PASS selection.anchorOffset is 5
+PASS selection.focusNode.data is "rd "
+PASS selection.focusOffset is 2
+PASS selection.toString() is "word"
+PASS $("test").innerHTML is "This wo<b>rd </b>should be selected."
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698