| OLD | NEW |
| (Empty) |
| 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | |
| 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | |
| 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | |
| 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | |
| 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | |
| 6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | |
| 7 layer at (0,0) size 800x600 | |
| 8 LayoutView at (0,0) size 800x600 | |
| 9 layer at (0,0) size 800x600 | |
| 10 LayoutBlockFlow {HTML} at (0,0) size 800x600 | |
| 11 LayoutBlockFlow {BODY} at (8,8) size 784x584 | |
| 12 LayoutBlockFlow {P} at (0,0) size 784x60 | |
| 13 LayoutText {#text} at (0,0) size 772x59 | |
| 14 text run at (0,0) width 741: "When ReplaceSelectionCommand deletes the
current selection, it should request that the deletion do a merge in some cases
" | |
| 15 text run at (0,20) width 772: "(normally, though, it should ask that a
merge not be done, because a merge will cause information about block nesting t
o be lost)." | |
| 16 text run at (0,40) width 350: "It wasn't requesting a merge in cases w
here it should have." | |
| 17 LayoutBlockFlow {P} at (0,76) size 784x80 | |
| 18 LayoutText {#text} at (0,0) size 779x79 | |
| 19 text run at (0,0) width 769: "The failing case is where the incoming f
ragment has more than one block, and the selection being pasted into ends at the
end of a" | |
| 20 text run at (0,20) width 69: "paragraph. " | |
| 21 text run at (69,20) width 710: "Any time the selection being pasted in
to ends at the end of a paragraph, deleting will leave leave a) a br or b) an em
pty" | |
| 22 text run at (0,40) width 247: "block at the end of the deleted selecti
on. " | |
| 23 text run at (247,40) width 522: "So, not merging will leave an extrane
ous empty line or a collapsed block after the paste" | |
| 24 text run at (0,60) width 61: "operation." | |
| 25 LayoutBlockFlow {DIV} at (2,172) size 780x52 [border: (1px solid #000000)] | |
| 26 LayoutBlockFlow {DIV} at (3,3) size 774x22 [border: (1px solid #FF0000)] | |
| 27 LayoutText {#text} at (1,1) size 28x19 | |
| 28 text run at (1,1) width 28: "bfoo" | |
| 29 LayoutBlockFlow {DIV} at (3,27) size 774x22 [border: (1px solid #000000)
] | |
| 30 LayoutText {#text} at (1,1) size 20x19 | |
| 31 text run at (1,1) width 20: "bar" | |
| 32 caret: position 3 of child 0 {#text} of child 1 {DIV} of child 4 {DIV} of body | |
| OLD | NEW |