| EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document |
| EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document |
| EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
| 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 784x40 |
| RenderText {#text} at (0,0) size 761x39 |
| text run at (0,0) width 761: "When the selection to delete ends at the end of a paragraph, that paragraph will be completely deleted, but a <br> or an empty" |
| text run at (0,20) width 489: "block will remain. Merging must happen to remove that <br> or prune that block." |
| RenderBlock {P} at (0,56) size 784x40 |
| RenderText {#text} at (0,0) size 757x39 |
| text run at (0,0) width 757: "This test illustrates a case where merging wasn't allowed to happen just because the end of the selection to delete was in a fully" |
| text run at (0,20) width 192: "selected line, which is nonsense." |
| RenderBlock {P} at (0,112) size 784x60 |
| RenderText {#text} at (0,0) size 783x59 |
| text run at (0,0) width 296: "Fixing that bug exposed a problem with merging. " |
| text run at (296,0) width 487: "If deletion empties out the block that contained the start of the selection to delete," |
| text run at (0,20) width 410: "that block can collapse away and become impossible to merge into. " |
| text run at (410,20) width 361: "So we insert a placeholder to prop it open so that the merge" |
| text run at (0,40) width 73: "can happen." |
| RenderBlock {DIV} at (5,188) size 774x34 [border: (1px solid #000000)] |
| RenderBlock {DIV} at (6,6) size 762x22 [border: (1px solid #FF0000)] |
| RenderBR {BR} at (1,1) size 0x19 |
| caret: position 0 of child 0 {BR} of child 0 {DIV} of child 6 {DIV} of body |