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

Unified Diff: LayoutTests/editing/deleting/smart-delete-003-expected.txt

Issue 428353004: Convert two pixel tests, editing/deleting/smart-delete-00{3,4}.html to JS test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-07-31T16:34:38 Created 6 years, 5 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/deleting/smart-delete-003-expected.txt
diff --git a/LayoutTests/editing/deleting/smart-delete-003-expected.txt b/LayoutTests/editing/deleting/smart-delete-003-expected.txt
index 7c918184135cfd8045358365c0e9748e0736d8b1..194846f1402d255b0653ce3406ebe62af36f455b 100644
--- a/LayoutTests/editing/deleting/smart-delete-003-expected.txt
+++ b/LayoutTests/editing/deleting/smart-delete-003-expected.txt
@@ -1,22 +1,13 @@
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-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 {P} at (0,0) size 784x36
- RenderText {#text} at (0,0) size 768x36
- text run at (0,0) width 392: "This tests deleting a selection created with a word granularity. "
- text run at (392,0) width 348: "To run it manually, double click on 'bar' and hit delete. "
- text run at (740,0) width 28: "You"
- text run at (0,18) width 127: "should see 'foo baz'."
- RenderBlock {DIV} at (0,52) size 784x18
- RenderText {#text} at (0,0) size 21x18
- text run at (0,0) width 21: "foo"
- RenderText {#text} at (21,0) size 26x18
- text run at (21,0) width 26: " baz"
-caret: position 3 of child 0 {#text} of child 2 {DIV} of body
+This tests deleting a selection created with a word granularity.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS sample.innerText is "foo baz"
+PASS getSelection().rangeCount is 1
+PASS getSelection().focusNode is sample.firstChild
+PASS getSelection().focusOffset is 4
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698