layer at (0,0) size 800x1141
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x1141
  RenderBlock {HTML} at (0,0) size 800x1141
    RenderBody {BODY} at (8,8) size 784x1125
      RenderBlock {CENTER} at (0,0) size 784x20
        RenderText {#text} at (327,0) size 130x19
          text run at (327,0) width 130: "bottom caption tests"
      RenderBlock (anonymous) at (0,20) size 784x20
        RenderText {#text} at (0,0) size 107x19
          text run at (0,0) width 107: "table 1 - original"
      RenderTable {TABLE} at (5,50) size 91x100 [border: (10px solid #008000)]
        RenderBlock {CAPTION} at (10,72) size 81x28 [border: (3px solid #800080)]
          RenderText {#text} at (6,5) size 48x19
            text run at (6,5) width 48: "caption"
          RenderBlock {INPUT} at (55,6) size 17x16 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
        RenderTableSection {TBODY} at (10,10) size 71x50
          RenderTableRow {TR} at (0,2) size 71x22
            RenderTableCell {TD} at (2,2) size 33x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,2) size 33x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,26) size 71x22
            RenderTableCell {TD} at (2,26) size 33x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,26) size 33x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
      RenderBlock (anonymous) at (0,155) size 784x20
        RenderText {#text} at (0,0) size 193x19
          text run at (0,0) width 193: "table 2 - caption gains content"
      RenderTable {TABLE} at (5,185) size 91x120 [border: (10px solid #008000)]
        RenderBlock {CAPTION} at (10,72) size 81x48 [border: (3px solid #800080)]
          RenderText {#text} at (6,5) size 48x19
            text run at (6,5) width 48: "caption"
          RenderBlock {INPUT} at (55,6) size 17x16 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
          RenderText {#text} at (16,25) size 48x19
            text run at (16,25) width 48: "foo foo"
        RenderTableSection {TBODY} at (10,10) size 71x50
          RenderTableRow {TR} at (0,2) size 71x22
            RenderTableCell {TD} at (2,2) size 33x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,2) size 33x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,26) size 71x22
            RenderTableCell {TD} at (2,26) size 33x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,26) size 33x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
      RenderBlock (anonymous) at (0,310) size 784x20
        RenderText {#text} at (0,0) size 394x19
          text run at (0,0) width 394: "table 3 - caption gains content extending its max element size"
      RenderTable {TABLE} at (5,340) size 151x120 [border: (10px solid #008000)]
        RenderBlock {CAPTION} at (10,72) size 141x48 [border: (3px solid #800080)]
          RenderText {#text} at (36,5) size 48x19
            text run at (36,5) width 48: "caption"
          RenderBlock {INPUT} at (85,6) size 17x16 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
          RenderText {#text} at (3,25) size 145x19
            text run at (3,25) width 145: "very_large_very_large"
        RenderTableSection {TBODY} at (10,10) size 131x50
          RenderTableRow {TR} at (0,2) size 131x22
            RenderTableCell {TD} at (2,2) size 63x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (66,2) size 63x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,26) size 131x22
            RenderTableCell {TD} at (2,26) size 63x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (66,26) size 63x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
      RenderBlock (anonymous) at (0,465) size 784x20
        RenderText {#text} at (0,0) size 191x19
          text run at (0,0) width 191: "table 4 - caption loses content"
      RenderTable {TABLE} at (5,495) size 91x98 [border: (10px solid #008000)]
        RenderBlock {CAPTION} at (10,72) size 81x26 [border: (3px solid #800080)]
          RenderText {#text} at (16,3) size 48x19
            text run at (16,3) width 48: "caption"
        RenderTableSection {TBODY} at (10,10) size 71x50
          RenderTableRow {TR} at (0,2) size 71x22
            RenderTableCell {TD} at (2,2) size 33x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,2) size 33x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,26) size 71x22
            RenderTableCell {TD} at (2,26) size 33x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,26) size 33x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
      RenderBlock (anonymous) at (0,598) size 784x20
        RenderText {#text} at (0,0) size 158x19
          text run at (0,0) width 158: "table 5 - table gets wider"
      RenderTable {TABLE} at (5,628) size 138x100 [border: (10px solid #008000)]
        RenderBlock {CAPTION} at (10,72) size 128x28 [border: (3px solid #800080)]
          RenderText {#text} at (29,5) size 49x19
            text run at (29,5) width 49: "caption"
          RenderBlock {INPUT} at (79,6) size 17x16 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
        RenderTableSection {TBODY} at (10,10) size 118x50
          RenderTableRow {TR} at (0,2) size 118x22
            RenderTableCell {TD} at (2,2) size 79x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
              RenderText {#text} at (31,1) size 47x19
                text run at (31,1) width 47: "foo foo"
            RenderTableCell {TD} at (82,2) size 34x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,26) size 118x22
            RenderTableCell {TD} at (2,26) size 79x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (82,26) size 34x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
      RenderBlock (anonymous) at (0,733) size 784x20
        RenderText {#text} at (0,0) size 155x19
          text run at (0,0) width 155: "table 6 - table gets taller"
      RenderTable {TABLE} at (5,763) size 107x124 [border: (10px solid #008000)]
        RenderTableSection {TBODY} at (10,10) size 87x26
          RenderTableRow {TR} at (0,2) size 87x22
            RenderTableCell {TD} at (2,2) size 49x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 47x19
                text run at (1,1) width 47: "foo foo"
        RenderBlock {CAPTION} at (10,96) size 97x28 [border: (3px solid #800080)]
          RenderText {#text} at (14,5) size 48x19
            text run at (14,5) width 48: "caption"
          RenderBlock {INPUT} at (63,6) size 17x16 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
        RenderTableSection {TBODY} at (10,36) size 87x48
          RenderTableRow {TR} at (0,0) size 87x22
            RenderTableCell {TD} at (2,0) size 49x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (52,0) size 33x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,24) size 87x22
            RenderTableCell {TD} at (2,24) size 49x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (52,24) size 33x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
      RenderBlock (anonymous) at (0,892) size 784x20
        RenderText {#text} at (0,0) size 144x19
          text run at (0,0) width 144: "table 7 - insert caption"
      RenderTable {TABLE} at (5,922) size 91x98 [border: (10px solid #008000)]
        RenderTableSection {TBODY} at (10,10) size 71x50
          RenderTableRow {TR} at (0,2) size 71x22
            RenderTableCell {TD} at (2,2) size 33x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,2) size 33x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,26) size 71x22
            RenderTableCell {TD} at (2,26) size 33x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,26) size 33x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
        RenderBlock {CAPTION} at (10,72) size 81x26 [border: (3px solid #800080)]
          RenderText {#text} at (13,3) size 54x19
            text run at (13,3) width 54: "new cap"
      RenderBlock (anonymous) at (0,1025) size 784x20
        RenderText {#text} at (0,0) size 156x19
          text run at (0,0) width 156: "table 8 - remove caption"
      RenderTable {TABLE} at (5,1055) size 91x70 [border: (10px solid #008000)]
        RenderTableSection {TBODY} at (10,10) size 71x50
          RenderTableRow {TR} at (0,2) size 71x22
            RenderTableCell {TD} at (2,2) size 33x22 [r=0 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,2) size 33x22 [r=0 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
          RenderTableRow {TR} at (0,26) size 71x22
            RenderTableCell {TD} at (2,26) size 33x22 [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
            RenderTableCell {TD} at (36,26) size 33x22 [r=1 c=1 rs=1 cs=1]
              RenderText {#text} at (1,1) size 31x19
                text run at (1,1) width 31: "Data"
