| OLD | NEW |
| 1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML
> #document to 3 of DIV > BODY > HTML > #document | |
| 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification | |
| 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY
> HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range
from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV
> BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:
FALSE | |
| 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 6 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > BODY
> HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document | |
| 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 8 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY
> HTML > #document to 0 of DIV > 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 | |
| 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | |
| 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | |
| 11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > DIV
> BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document t
oDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 1 of #t
ext > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream
stillSelecting:FALSE | |
| 12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | |
| 13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | |
| 14 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > DIV
> BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document t
oDOMRange:range from 2 of #text > DIV > DIV > BODY > HTML > #document to 2 of #t
ext > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream
stillSelecting:FALSE | |
| 15 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 16 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 17 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 18 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range fr
om 1 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV >
BODY > HTML > #document givenAction:WebViewInsertActionPasted | 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 19 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 20 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > DIV > DIV
> BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document t
oDOMRange:range from 6 of #text > DIV > DIV > BODY > HTML > #document to 6 of #t
ext > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream
stillSelecting:FALSE | 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 21 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 22 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 23 layer at (0,0) size 800x600 | 14 layer at (0,0) size 800x600 |
| 24 RenderView at (0,0) size 800x600 | 15 RenderView at (0,0) size 800x600 |
| 25 layer at (0,0) size 800x600 | 16 layer at (0,0) size 800x600 |
| 26 RenderBlock {HTML} at (0,0) size 800x600 | 17 RenderBlock {HTML} at (0,0) size 800x600 |
| 27 RenderBody {BODY} at (8,8) size 784x584 | 18 RenderBody {BODY} at (8,8) size 784x584 |
| 28 RenderBlock {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)] | 19 RenderBlock {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)] |
| 29 RenderBlock {DIV} at (14,14) size 756x56 | 20 RenderBlock {DIV} at (14,14) size 756x56 |
| 30 RenderText {#text} at (0,0) size 67x28 | 21 RenderText {#text} at (0,0) size 67x28 |
| 31 text run at (0,0) width 67: "Tests: " | 22 text run at (0,0) width 67: "Tests: " |
| 32 RenderBR {BR} at (0,0) size 0x0 | 23 RenderBR {BR} at (0,0) size 0x0 |
| 33 RenderText {#text} at (0,28) size 460x28 | 24 RenderText {#text} at (0,28) size 460x28 |
| 34 text run at (0,28) width 460: "Smart paste when pasting between two
periods." | 25 text run at (0,28) width 460: "Smart paste when pasting between two
periods." |
| 35 RenderBlock {DIV} at (14,86) size 756x112 | 26 RenderBlock {DIV} at (14,86) size 756x112 |
| 36 RenderText {#text} at (0,0) size 189x28 | 27 RenderText {#text} at (0,0) size 189x28 |
| 37 text run at (0,0) width 189: "Expected Results: " | 28 text run at (0,0) width 189: "Expected Results: " |
| 38 RenderBR {BR} at (189,22) size 0x0 | 29 RenderBR {BR} at (189,22) size 0x0 |
| 39 RenderText {#text} at (0,28) size 744x56 | 30 RenderText {#text} at (0,28) size 744x56 |
| 40 text run at (0,28) width 744: "A space should be added before, but n
ot after the pasted word. It should look" | 31 text run at (0,28) width 744: "A space should be added before, but n
ot after the pasted word. It should look" |
| 41 text run at (0,56) width 91: "like this: " | 32 text run at (0,56) width 91: "like this: " |
| 42 RenderBR {BR} at (91,78) size 0x0 | 33 RenderBR {BR} at (91,78) size 0x0 |
| 43 RenderText {#text} at (0,84) size 52x28 | 34 RenderText {#text} at (0,84) size 52x28 |
| 44 text run at (0,84) width 52: ". test." | 35 text run at (0,84) width 52: ". test." |
| 45 RenderBlock {DIV} at (0,236) size 784x32 | 36 RenderBlock {DIV} at (0,236) size 784x32 |
| 46 RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)] | 37 RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)] |
| 47 RenderText {#text} at (2,2) size 52x28 | 38 RenderText {#text} at (2,2) size 52x28 |
| 48 text run at (2,2) width 52: ". test." | 39 text run at (2,2) width 52: ". test." |
| 49 caret: position 6 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body | 40 caret: position 6 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body |
| OLD | NEW |