layer at (0,0) size 800x600
  RenderView 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 {P} at (0,0) size 784x54
        RenderText {#text} at (0,0) size 764x54
          text run at (0,0) width 521: "This tests for a bug when moving the caret forward/backward by a line/paragraph. "
          text run at (521,0) width 220: "The horizontal position of the caret"
          text run at (0,18) width 583: "would be lost when moving the caret into an empty paragraph, when it should be preserved. "
          text run at (583,18) width 181: "The caret should be between"
          text run at (0,36) width 289: "the first and second 'x's in the third paragraph."
      RenderBlock {DIV} at (0,70) size 784x72
        RenderText {#text} at (0,0) size 24x18
          text run at (0,0) width 24: "xxx"
        RenderBR {BR} at (24,14) size 0x0
        RenderText {#text} at (0,18) size 24x18
          text run at (0,18) width 24: "xxx"
        RenderBR {BR} at (24,32) size 0x0
        RenderBR {BR} at (0,36) size 0x18
        RenderText {#text} at (0,54) size 24x18
          text run at (0,54) width 24: "xxx"
        RenderBR {BR} at (24,68) size 0x0
caret: position 2 of child 6 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
