smart-delete-002-expected.txt   [plain text]


layer at (0,0) size 800x600
  RenderCanvas 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 {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)]
        RenderBlock {DIV} at (14,14) size 756x56
          RenderText {TEXT} at (0,0) size 67x28
            text run at (0,0) width 67: "Tests: "
          RenderBR {BR} at (0,0) size 0x0
          RenderText {TEXT} at (0,28) size 522x28
            text run at (0,28) width 522: "Smart delete when deleting the second word of a line."
        RenderBlock {DIV} at (14,86) size 756x112
          RenderText {TEXT} at (0,0) size 189x28
            text run at (0,0) width 189: "Expected Results: "
          RenderBR {BR} at (0,0) size 0x0
          RenderText {TEXT} at (0,28) size 738x56
            text run at (0,28) width 738: "The second word and the space before the second word should be deleted. It"
            text run at (0,56) width 202: "should like this this: "
          RenderBR {BR} at (0,0) size 0x0
          RenderText {TEXT} at (0,84) size 72x28
            text run at (0,84) width 72: "foo baz"
      RenderBlock {DIV} at (0,236) size 784x32
        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
          RenderText {TEXT} at (2,2) size 72x28
            text run at (2,2) width 72: "foo baz"
selection is CARET:
start:      position 4 of child 1 {TEXT} of child 1 {DIV} of root {DIV}
upstream:   position 4 of child 1 {TEXT} of child 1 {DIV} of root {DIV}
downstream: position 4 of child 1 {TEXT} of child 1 {DIV} of root {DIV}