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 784x17
        RenderText {#text} at (0,0) size 53x17
          text run at (0,0) width 53: "Test for "
        RenderInline {I} at (0,0) size 685x17
          RenderInline {A} at (0,0) size 348x17 [color=#0000EE]
            RenderText {#text} at (53,0) size 348x17
              text run at (53,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8848"
          RenderText {#text} at (401,0) size 337x17
            text run at (401,0) width 4: " "
            text run at (405,0) width 333: "TFOOT borders are copied to THEAD and TBODY"
        RenderText {#text} at (738,0) size 4x17
          text run at (738,0) width 4: "."
      RenderBlock {HR} at (0,33) size 784x2 [border: (1px inset #000000)]
      RenderTable {TABLE} at (0,43) size 315x295
        RenderTableSection {TBODY} at (0,0) size 315x295
          RenderTableRow {TR} at (0,2) size 315x291
            RenderTableCell {TD} at (2,2) size 77x291 [r=0 c=0 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 55x83 [border: none]
                RenderTableSection {THEAD} at (0,0) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TH} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,20) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (0,40) size 54x21
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (0,61) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
              RenderTable {TABLE} at (11,104) size 55x83 [border: none]
                RenderTableSection {TBODY} at (0,20) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,0) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TH} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,40) size 54x21
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (0,61) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
              RenderTable {TABLE} at (11,197) size 55x83 [border: none]
                RenderTableSection {TBODY} at (0,20) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,0) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TH} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TFOOT} at (0,61) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {TBODY} at (0,40) size 54x21
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
            RenderTableCell {TD} at (80,2) size 77x291 [r=0 c=1 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 55x83 [border: none]
                RenderTableSection {TBODY} at (0,20) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TFOOT} at (0,61) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {THEAD} at (0,0) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TH} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,40) size 54x21
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,104) size 55x83 [border: none]
                RenderTableSection {TFOOT} at (0,61) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {TBODY} at (0,20) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,0) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TH} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,40) size 54x21
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,197) size 55x83 [border: none]
                RenderTableSection {TBODY} at (0,20) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (0,40) size 54x21
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (0,61) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TD} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {THEAD} at (0,0) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TH} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
            RenderTableCell {TD} at (158,2) size 77x291 [r=0 c=2 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 55x83 [border: (1px none #808080)]
                RenderTableSection {THEAD} at (0,1) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TH} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,22) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (0,42) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (0,62) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
              RenderTable {TABLE} at (11,104) size 55x83 [border: (1px none #808080)]
                RenderTableSection {TBODY} at (0,22) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,1) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TH} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,42) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (0,62) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
              RenderTable {TABLE} at (11,197) size 55x83 [border: (1px none #808080)]
                RenderTableSection {TBODY} at (0,22) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,1) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TH} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TFOOT} at (0,62) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {TBODY} at (0,42) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
            RenderTableCell {TD} at (236,2) size 77x291 [r=0 c=3 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 55x83 [border: (1px none #808080)]
                RenderTableSection {TBODY} at (0,22) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TFOOT} at (0,62) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {THEAD} at (0,1) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TH} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,42) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,104) size 55x83 [border: (1px none #808080)]
                RenderTableSection {TFOOT} at (0,62) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {TBODY} at (0,22) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,1) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TH} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
                RenderTableSection {TBODY} at (0,42) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,197) size 55x83 [border: (1px none #808080)]
                RenderTableSection {TBODY} at (0,22) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (0,42) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 47x17
                        text run at (2,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (0,62) size 54x20
                  RenderTableRow {TR} at (0,0) size 54x20
                    RenderTableCell {TD} at (0,0) size 54x20 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 41x17
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {THEAD} at (0,1) size 54x21 [border: (2px solid #0000FF) none (2px solid #008000) none]
                  RenderTableRow {TR} at (0,0) size 54x21
                    RenderTableCell {TH} at (0,0) size 54x21 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 51x17
                        text run at (2,2) width 51: "Header"
