| 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..fd8ccd585948b6ce7bb79b297e716b96d8583533 100644
|
| --- a/LayoutTests/editing/deleting/smart-delete-003-expected.txt
|
| +++ b/LayoutTests/editing/deleting/smart-delete-003-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 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
|
| +Test for smart delete backward 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
|
|
|