Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / smart-delete-004-expected.txt
index 5eac9f6..25732ca 100644 (file)
@@ -1,22 +1,24 @@
-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 745x36
-          text run at (0,0) width 392: "This tests deleting a selection created with a word granularity. "
-          text run at (392,0) width 353: "To run it manually, double click on 'bar' and hit forward"
-          text run at (0,18) width 45: "delete. "
-          text run at (45,18) width 159: "You 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
+Test for smart delete forward on double click selected word.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+includeSpace
+PASS sample.innerText is "foo baz"
+PASS getSelection().rangeCount is 1
+PASS getSelection().focusNode is sample.firstChild
+PASS getSelection().focusOffset is 4
+notIncludeSpace
+PASS sample.innerText is "foo baz"
+PASS getSelection().rangeCount is 1
+PASS getSelection().focusNode is sample.firstChild
+PASS getSelection().focusOffset is 3
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Please tun this test with DRT.
+
+To run it manually, double click on 'bar' and hit delete. You should see 'foo baz'.
+
+foo baz
+foo baz