return-key-with-selection-001-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 784x296 [border: (2px solid #0000FF)]
        RenderBlock {DIV} at (14,14) size 756x84
          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 162x28
            text run at (0,28) width 162: "Fix for this bug: "
          RenderInline {A} at (0,0) size 260x28 [color=#0000EE]
            RenderText {TEXT} at (162,28) size 260x28
              text run at (162,28) width 260: "<rdar://problem/4045521>"
          RenderText {TEXT} at (422,28) size 734x56
            text run at (422,28) width 312: " Hitting return key with full line"
            text run at (0,56) width 426: "selected does not add blank line as it should"
        RenderBlock {DIV} at (14,114) size 756x168
          RenderBlock (anonymous) at (0,0) size 756x84
            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 711x56
              text run at (0,28) width 711: "Should see this content in the red box below (note that the insertion point"
              text run at (0,56) width 670: "should be at the start of the third line, immediately preceding \"baz\"):"
          RenderBlock {DIV} at (0,84) size 756x28
            RenderText {TEXT} at (0,0) size 32x28
              text run at (0,0) width 32: "foo"
          RenderBlock {DIV} at (0,112) size 756x28
            RenderBR {BR} at (0,0) size 0x28
          RenderBlock {DIV} at (0,140) size 756x28
            RenderText {TEXT} at (0,0) size 34x28
              text run at (0,0) width 34: "baz"
      RenderBlock {DIV} at (0,320) size 784x88
        RenderBlock {DIV} at (0,0) size 784x88 [border: (2px solid #FF0000)]
          RenderBlock {DIV} at (2,2) size 780x28
            RenderText {TEXT} at (0,0) size 32x28
              text run at (0,0) width 32: "foo"
          RenderBlock {DIV} at (2,30) size 780x28
            RenderBR {BR} at (0,0) size 0x28
          RenderBlock {DIV} at (2,58) size 780x28
            RenderText {TEXT} at (0,0) size 34x28
              text run at (0,0) width 34: "baz"
selection is CARET:
start:      position 0 of child 1 {TEXT} of child 4 {DIV} of child 1 {DIV} of root {DIV}
upstream:   position 0 of child 4 {DIV} of child 1 {DIV} of root {DIV}
downstream: position 0 of child 1 {TEXT} of child 4 {DIV} of child 1 {DIV} of root {DIV}