| OLD | NEW |
| 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 1 Test for smart delete backward on double click selected word. |
| 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 2 |
| 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 4 |
| 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 5 |
| 6 layer at (0,0) size 800x600 | 6 includeSpace |
| 7 RenderView at (0,0) size 800x600 | 7 PASS sample.innerText is "foo baz" |
| 8 layer at (0,0) size 800x600 | 8 PASS getSelection().rangeCount is 1 |
| 9 RenderBlock {HTML} at (0,0) size 800x600 | 9 PASS getSelection().focusNode is sample.firstChild |
| 10 RenderBody {BODY} at (8,8) size 784x584 | 10 PASS getSelection().focusOffset is 4 |
| 11 RenderBlock {P} at (0,0) size 784x36 | 11 notIncludeSpace |
| 12 RenderText {#text} at (0,0) size 768x36 | 12 PASS sample.innerText is "foo baz" |
| 13 text run at (0,0) width 392: "This tests deleting a selection created
with a word granularity. " | 13 PASS getSelection().rangeCount is 1 |
| 14 text run at (392,0) width 348: "To run it manually, double click on 'b
ar' and hit delete. " | 14 PASS getSelection().focusNode is sample.firstChild |
| 15 text run at (740,0) width 28: "You" | 15 PASS getSelection().focusOffset is 3 |
| 16 text run at (0,18) width 127: "should see 'foo baz'." | 16 PASS successfullyParsed is true |
| 17 RenderBlock {DIV} at (0,52) size 784x18 | 17 |
| 18 RenderText {#text} at (0,0) size 21x18 | 18 TEST COMPLETE |
| 19 text run at (0,0) width 21: "foo" | 19 Please tun this test with DRT. |
| 20 RenderText {#text} at (21,0) size 26x18 | 20 |
| 21 text run at (21,0) width 26: " baz" | 21 To run it manually, double click on 'bar' and hit delete. You should see 'foo ba
z'. |
| 22 caret: position 3 of child 0 {#text} of child 2 {DIV} of body | 22 |
| 23 foo baz |
| 24 foo baz |
| OLD | NEW |