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 419x209
        RenderTableSection {TBODY} at (0,0) size 419x209
          RenderTableRow {TR} at (0,2) size 419x205
            RenderTableCell {TD} at (2,2) size 103x205 [r=0 c=0 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 82x55 [border: none]
                RenderTableSection {THEAD} at (0,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TH} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x51
                        text run at (1,2) width 50: "Header"
                RenderTableSection {TBODY} at (20,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (40,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (60,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x41
                        text run at (2,2) width 41: "Footer"
              RenderTable {TABLE} at (11,75) size 82x55 [border: none]
                RenderTableSection {TBODY} at (20,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TH} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x51
                        text run at (1,2) width 50: "Header"
                RenderTableSection {TBODY} at (40,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (60,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x41
                        text run at (2,2) width 41: "Footer"
              RenderTable {TABLE} at (11,139) size 82x55 [border: none]
                RenderTableSection {TBODY} at (20,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TH} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x51
                        text run at (1,2) width 50: "Header"
                RenderTableSection {TFOOT} at (60,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x41
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {TBODY} at (40,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
            RenderTableCell {TD} at (106,2) size 103x205 [r=0 c=1 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 82x55 [border: none]
                RenderTableSection {TBODY} at (20,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 1"
                RenderTableSection {TFOOT} at (60,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x41
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {THEAD} at (0,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TH} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x51
                        text run at (1,2) width 50: "Header"
                RenderTableSection {TBODY} at (40,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,75) size 82x55 [border: none]
                RenderTableSection {TFOOT} at (60,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x41
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {TBODY} at (20,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (0,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TH} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x51
                        text run at (1,2) width 50: "Header"
                RenderTableSection {TBODY} at (40,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,139) size 82x55 [border: none]
                RenderTableSection {TBODY} at (20,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (40,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (60,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x41
                        text run at (2,2) width 41: "Footer"
                RenderTableSection {THEAD} at (0,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TH} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x51
                        text run at (1,2) width 50: "Header"
            RenderTableCell {TD} at (210,2) size 103x205 [r=0 c=2 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 84x55 [border: none]
                RenderTableSection {THEAD} at (1,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TH} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x51
                        text run at (2,2) width 50: "Header"
                RenderTableSection {TBODY} at (22,0) size 21x54
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x47
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (43,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (63,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x41
                        text run at (1,2) width 41: "Footer"
              RenderTable {TABLE} at (11,75) size 84x55 [border: none]
                RenderTableSection {TBODY} at (22,0) size 21x54
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x47
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (1,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TH} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x51
                        text run at (2,2) width 50: "Header"
                RenderTableSection {TBODY} at (43,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (63,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x41
                        text run at (1,2) width 41: "Footer"
              RenderTable {TABLE} at (11,139) size 84x55 [border: none]
                RenderTableSection {TBODY} at (22,0) size 21x54
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x47
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (1,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TH} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x51
                        text run at (2,2) width 50: "Header"
                RenderTableSection {TFOOT} at (63,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x41
                        text run at (1,2) width 41: "Footer"
                RenderTableSection {TBODY} at (43,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
            RenderTableCell {TD} at (314,2) size 103x205 [r=0 c=3 rs=1 cs=1]
              RenderTable {TABLE} at (11,11) size 84x55 [border: none]
                RenderTableSection {TBODY} at (22,0) size 21x54
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x47
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TFOOT} at (63,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x41
                        text run at (1,2) width 41: "Footer"
                RenderTableSection {THEAD} at (1,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TH} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x51
                        text run at (2,2) width 50: "Header"
                RenderTableSection {TBODY} at (43,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,75) size 84x55 [border: none]
                RenderTableSection {TFOOT} at (63,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x41
                        text run at (1,2) width 41: "Footer"
                RenderTableSection {TBODY} at (22,0) size 21x54
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x47
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {THEAD} at (1,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TH} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x51
                        text run at (2,2) width 50: "Header"
                RenderTableSection {TBODY} at (43,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
              RenderTable {TABLE} at (11,139) size 84x55 [border: none]
                RenderTableSection {TBODY} at (22,0) size 21x54
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TD} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x47
                        text run at (2,2) width 47: "Body 1"
                RenderTableSection {TBODY} at (43,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x47
                        text run at (1,2) width 47: "Body 2"
                RenderTableSection {TFOOT} at (63,0) size 20x54
                  RenderTableRow {TR} at (0,0) size 20x54
                    RenderTableCell {TD} at (0,0) size 20x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (1,2) size 17x41
                        text run at (1,2) width 41: "Footer"
                RenderTableSection {THEAD} at (1,0) size 21x54 [border: none (2px solid #0000FF) none (2px solid #008000)]
                  RenderTableRow {TR} at (0,0) size 21x54
                    RenderTableCell {TH} at (0,0) size 21x54 [border: (1px solid #D3D3D3)] [r=0 c=0 rs=1 cs=1]
                      RenderText {#text} at (2,2) size 17x51
                        text run at (2,2) width 50: "Header"
