Index: LayoutTests/editing/deleting/smart-delete-004-expected.txt |
diff --git a/LayoutTests/editing/deleting/smart-delete-004-expected.txt b/LayoutTests/editing/deleting/smart-delete-004-expected.txt |
index 5eac9f6db67a85646ddec82d7c717c85ee983ef8..25732ca28b8a9779f00b5826bb238759e3058e3f 100644 |
--- a/LayoutTests/editing/deleting/smart-delete-004-expected.txt |
+++ b/LayoutTests/editing/deleting/smart-delete-004-expected.txt |
@@ -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 |