EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 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 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x600 LayoutBlockFlow {HTML} at (0,0) size 800x600 LayoutBlockFlow {BODY} at (8,8) size 784x584 LayoutBlockFlow {P} at (0,0) size 784x54 LayoutText {#text} at (0,0) size 752x53 text run at (0,0) width 752: "When ReplaceSelectionCommand deletes the current selection, it should request that the deletion do a merge in some" text run at (0,18) width 744: "cases (normally, though, it should ask that a merge not be done, because a merge will cause information about block" text run at (0,36) width 123: "nesting to be lost). " text run at (122,36) width 375: "It wasn't requesting a merge in cases where it should have." LayoutBlockFlow {P} at (0,70) size 784x72 LayoutText {#text} at (0,0) size 773x71 text run at (0,0) width 772: "The failing case is where the incoming fragment has more than one block, and the selection being pasted into ends at the" text run at (0,18) width 128: "end of a paragraph. " text run at (127,18) width 646: "Any time the selection being pasted into ends at the end of a paragraph, deleting will leave leave a) a" text run at (0,36) width 377: "br or b) an empty block at the end of the deleted selection. " text run at (376,36) width 363: "So, not merging will leave an extraneous empty line or a" text run at (0,54) width 263: "collapsed block after the paste operation." LayoutBlockFlow {DIV} at (2,158) size 780x48 [border: (1px solid #000000)] LayoutBlockFlow {DIV} at (3,3) size 774x20 [border: (1px solid #FF0000)] LayoutText {#text} at (1,1) size 30x17 text run at (1,1) width 30: "bfoo" LayoutBlockFlow {DIV} at (3,25) size 774x20 [border: (1px solid #000000)] LayoutText {#text} at (1,1) size 21x17 text run at (1,1) width 21: "bar" caret: position 3 of child 0 {#text} of child 1 {DIV} of child 4 {DIV} of body