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 784x84 [border: (2px solid #0000FF)]
        RenderText {TEXT} at (14,14) size 730x56
          text run at (14,14) width 730: "Should see \"XX\" in a top red box, and another \"XX\" in a red box inside the"
          text run at (14,42) width 45: "first."
      RenderBlock {DIV} at (0,108) size 784x112
        RenderBlock {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
          RenderBlock (anonymous) at (14,14) size 756x28
            RenderText {TEXT} at (0,0) size 17x28
              text run at (0,0) width 17: "X"
            RenderText {TEXT} at (17,0) size 17x28
              text run at (17,0) width 17: "X"
          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
            RenderText {TEXT} at (14,14) size 34x28
              text run at (14,14) width 34: "XX"
selection is CARET:
start:      position 2 of child 1 {TEXT} of child 1 {DIV} of root {DIV}
upstream:   position 2 of child 1 {TEXT} of child 1 {DIV} of root {DIV}
downstream: position 0 of child 2 {TEXT} of child 1 {DIV} of root {DIV}
