merge-endOfParagraph-expected.txt 2.78 KB
Newer Older
justing's avatar
justing committed
1
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document
weinig's avatar
weinig committed
2
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
justing's avatar
justing committed
3 4 5
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
lweintraub's avatar
lweintraub committed
6
EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document
justing's avatar
justing committed
7
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
justing's avatar
justing committed
8 9 10 11
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) 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
ddkilzer's avatar
ddkilzer committed
12
  RenderView at (0,0) size 800x600
justing's avatar
justing committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
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 784x36
        RenderText {#text} at (0,0) size 747x36
          text run at (0,0) width 747: "When the selection to delete ends at the end of a paragraph, that paragraph will be completely deleted, but a <br> or an"
          text run at (0,18) width 555: "empty block will remain. Merging must happen to remove that <br> or prune that block."
      RenderBlock {P} at (0,52) size 784x36
        RenderText {#text} at (0,0) size 763x36
          text run at (0,0) width 763: "This test illustrates a case where merging wasn't allowed to happen just because the end of the selection to delete was in a"
          text run at (0,18) width 237: "fully selected line, which is nonsense."
      RenderBlock {P} at (0,104) size 784x54
        RenderText {#text} at (0,0) size 779x54
          text run at (0,0) width 315: "Fixing that bug exposed a problem with merging. "
          text run at (315,0) width 462: "If deletion empties out the block that contained the start of the selection to"
          text run at (0,18) width 472: "delete, that block can collapse away and become impossible to merge into. "
          text run at (472,18) width 307: "So we insert a placeholder to prop it open so that"
          text run at (0,36) width 142: "the merge can happen."
      RenderBlock {DIV} at (5,174) size 774x32 [border: (1px solid #000000)]
        RenderBlock {DIV} at (6,6) size 762x20 [border: (1px solid #FF0000)]
          RenderBR {BR} at (1,1) size 0x18
ap@webkit.org's avatar
ap@webkit.org committed
34
caret: position 0 of child 0 {BR} of child 0 {DIV} of child 6 {DIV} of child 1 {BODY} of child 0 {HTML} of document