blob: 353f62e14cf652beff85787c8d734de1f6f8f076 [file] [log] [blame]
layer at (0,0) size 785x972
RenderView at (0,0) size 785x600
layer at (0,0) size 785x972
RenderBlock {HTML} at (0,0) size 785x972
RenderBody {BODY} at (8,8) size 769x956
RenderBlock {DIV} at (0,0) size 769x180
RenderBlock {HR} at (0,0) size 769x2 [border: (1px inset #000000)]
RenderBlock {P} at (0,18) size 769x20
RenderInline {B} at (0,0) size 327x19
RenderText {#text} at (221,0) size 327x19
text run at (221,0) width 327: "Tables I, II, III, IV (cellpadding=0 cellspacing=5)"
RenderTable {TABLE} at (91,54) size 587x126 [bgcolor=#FFCC00] [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 585x124
RenderTableRow {TR} at (0,2) size 585x120
RenderTableCell {TD} at (2,2) size 154x120 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderTable {TABLE} at (6,6) size 142x108 [bgcolor=#FFFFFF] [border: (1px outset #808080)]
RenderBlock {CAPTION} at (0,0) size 142x20
RenderInline {NOBR} at (0,0) size 44x19
RenderText {#text} at (49,0) size 44x19
text run at (49,0) width 44: "Table I"
RenderTableSection {TBODY} at (1,21) size 140x86
RenderTableRow {TR} at (0,5) size 140x22
RenderTableCell {TD} at (5,5) size 22x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,1"
RenderTableCell {TD} at (32,5) size 22x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,2"
RenderTableCell {TD} at (59,5) size 22x22 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,3"
RenderTableCell {TD} at (86,5) size 22x22 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,4"
RenderTableCell {TD} at (113,5) size 22x22 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,5"
RenderTableRow {TR} at (0,32) size 140x22
RenderTableCell {TD} at (5,32) size 22x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,1"
RenderTableCell {TD} at (32,32) size 22x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,2"
RenderTableCell {TD} at (59,32) size 22x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,3"
RenderTableCell {TD} at (86,32) size 22x22 [border: (1px inset #808080)] [r=1 c=3 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,4"
RenderTableCell {TD} at (113,32) size 22x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,5"
RenderTableRow {TR} at (0,59) size 140x22
RenderTableCell {TD} at (5,59) size 22x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,1"
RenderTableCell {TD} at (32,59) size 22x22 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,2"
RenderTableCell {TD} at (59,59) size 22x22 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,3"
RenderTableCell {TD} at (86,59) size 22x22 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=3 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,4"
RenderTableCell {TD} at (113,59) size 22x22 [border: (1px inset #808080)] [r=2 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,5"
RenderTableCell {TD} at (158,2) size 154x120 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderTable {TABLE} at (6,6) size 142x108 [bgcolor=#FFFFFF] [border: (1px outset #808080)]
RenderBlock {CAPTION} at (0,0) size 142x20
RenderInline {NOBR} at (0,0) size 48x19
RenderText {#text} at (47,0) size 48x19
text run at (47,0) width 48: "Table II"
RenderTableSection {TBODY} at (1,21) size 140x86
RenderTableRow {TR} at (0,5) size 140x22
RenderTableCell {TD} at (5,5) size 22x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,1"
RenderTableCell {TD} at (32,5) size 49x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=2]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,2"
RenderTableCell {TD} at (86,5) size 22x22 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,4"
RenderTableCell {TD} at (113,5) size 22x22 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,5"
RenderTableRow {TR} at (0,32) size 140x22
RenderTableCell {TD} at (5,32) size 22x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,1"
RenderTableCell {TD} at (32,32) size 22x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,2"
RenderTableCell {TD} at (59,32) size 49x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=2]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,3"
RenderTableCell {TD} at (113,32) size 22x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,5"
RenderTableRow {TR} at (0,59) size 140x22
RenderTableCell {TD} at (5,59) size 22x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,1"
RenderTableCell {TD} at (32,59) size 22x22 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,2"
RenderTableCell {TD} at (59,59) size 22x22 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,3"
RenderTableCell {TD} at (86,59) size 22x22 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=3 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,4"
RenderTableCell {TD} at (113,59) size 22x22 [border: (1px inset #808080)] [r=2 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,5"
RenderTableCell {TD} at (314,2) size 134x120 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
RenderTable {TABLE} at (6,6) size 122x108 [bgcolor=#FFFFFF] [border: (1px outset #808080)]
RenderBlock {CAPTION} at (0,0) size 122x20
RenderInline {NOBR} at (0,0) size 54x19
RenderText {#text} at (34,0) size 54x19
text run at (34,0) width 54: "Table III"
RenderTableSection {TBODY} at (1,21) size 120x86
RenderTableRow {TR} at (0,5) size 120x22
RenderTableCell {TD} at (5,5) size 22x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,1"
RenderTableCell {TD} at (32,5) size 29x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=2]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,2"
RenderTableCell {TD} at (66,5) size 22x22 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,4"
RenderTableCell {TD} at (93,5) size 22x22 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,5"
RenderTableRow {TR} at (0,32) size 120x22
RenderTableCell {TD} at (5,32) size 22x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,1"
RenderTableCell {TD} at (32,32) size 22x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,2"
RenderTableCell {TD} at (59,32) size 29x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=2]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,3"
RenderTableCell {TD} at (93,32) size 22x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,5"
RenderTableRow {TR} at (0,59) size 120x22
RenderTableCell {TD} at (5,59) size 22x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,1"
RenderTableCell {TD} at (32,69) size 22x2 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
RenderTableCell {TD} at (59,69) size 2x2 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
RenderTableCell {TD} at (66,69) size 22x2 [bgcolor=#FFFF66] [border: (1px inset #808080)] [r=2 c=3 rs=1 cs=1]
RenderTableCell {TD} at (93,59) size 22x22 [border: (1px inset #808080)] [r=2 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "3,5"
RenderTableCell {TD} at (450,2) size 133x93 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
RenderTable {TABLE} at (6,6) size 121x81 [bgcolor=#FFFFFF] [border: (1px outset #808080)]
RenderBlock {CAPTION} at (0,0) size 121x20
RenderInline {NOBR} at (0,0) size 55x19
RenderText {#text} at (33,0) size 55x19
text run at (33,0) width 55: "Table IV"
RenderTableSection {TBODY} at (1,21) size 119x59
RenderTableRow {TR} at (0,5) size 119x22
RenderTableCell {TD} at (5,5) size 22x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,1"
RenderTableCell {TD} at (32,5) size 28x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=2]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,2"
RenderTableCell {TD} at (65,5) size 22x22 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,4"
RenderTableCell {TD} at (92,5) size 22x22 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "1,5"
RenderTableRow {TR} at (0,32) size 119x22
RenderTableCell {TD} at (5,32) size 22x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,1"
RenderTableCell {TD} at (32,32) size 22x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,2"
RenderTableCell {TD} at (59,32) size 28x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=2]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,3"
RenderTableCell {TD} at (92,32) size 22x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
RenderText {#text} at (1,1) size 20x19
text run at (1,1) width 20: "2,5"
RenderBlock (anonymous) at (0,180) size 769x20
RenderBR {BR} at (0,0) size 0x19
RenderBlock {P} at (0,216) size 769x100
RenderText {#text} at (0,0) size 768x99
text run at (0,0) width 304: "This is a table colspan counting problem (IMHO). "
text run at (304,0) width 444: "The oversize <TABLE> has two rows: one has *two* <TD> \"requesting\""
text run at (0,20) width 760: "total of 3 columns to span; second row has *one* <TD> \"requesting\" total of 3 columns to span. In other words, it's asking for"
text run at (0,40) width 398: "one more column than the max number of 'real' elements in a row. "
text run at (398,40) width 370: "Here's the simple case (first one shows the problem; the other"
text run at (0,60) width 68: "adjusts the "
text run at (68,60) width 446: "colspan values and it works) (Dec 19 Nightly Win 95): All the elements in "
text run at (514,60) width 251: "the two tables below are width=auto (i.e.,"
text run at (0,80) width 171: "no width attribute specified)."
RenderBlock (anonymous) at (0,332) size 769x20
RenderBR {BR} at (0,0) size 0x19
RenderTable {TABLE} at (0,352) size 623x58 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 621x56
RenderTableRow {TR} at (0,0) size 621x28
RenderTableCell {TD} at (0,0) size 245x28 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
RenderBlock {P} at (4,4) size 237x20
RenderInline {B} at (0,0) size 115x19
RenderText {#text} at (0,0) size 115x19
text run at (0,0) width 115: "This is colspan=2"
RenderTableCell {TD} at (244,0) size 378x28 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (4,4) size 182x19
text run at (4,4) width 182: "Blah Blah Blah Blah Blah Blah"
RenderTableRow {TR} at (0,28) size 621x28
RenderTableCell {TD} at (0,28) size 622x28 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=3]
RenderBlock {P} at (4,4) size 614x20
RenderInline {B} at (0,0) size 115x19
RenderText {#text} at (0,0) size 115x19
text run at (0,0) width 115: "This is colspan=3"
RenderText {#text} at (115,0) size 498x19
text run at (115,0) width 149: " blah blah blah blah blah "
text run at (264,0) width 349: "--- why doesn't this cell span the table (5.0 win95 jun17)?"
RenderBlock (anonymous) at (0,410) size 769x40
RenderBR {BR} at (0,0) size 0x19
RenderBR {BR} at (0,20) size 0x19
RenderTable {TABLE} at (0,450) size 494x58 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 492x56
RenderTableRow {TR} at (0,0) size 492x28
RenderTableCell {TD} at (0,0) size 194x28 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {P} at (4,4) size 186x20
RenderInline {B} at (0,0) size 115x19
RenderText {#text} at (0,0) size 115x19
text run at (0,0) width 115: "This is colspan=1"
RenderTableCell {TD} at (193,0) size 300x28 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (4,4) size 182x19
text run at (4,4) width 182: "Blah Blah Blah Blah Blah Blah"
RenderTableRow {TR} at (0,28) size 492x28
RenderTableCell {TD} at (0,28) size 493x28 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=2]
RenderBlock {P} at (4,4) size 485x20
RenderInline {B} at (0,0) size 115x19
RenderText {#text} at (0,0) size 115x19
text run at (0,0) width 115: "This is colspan=2"
RenderText {#text} at (115,0) size 369x19
text run at (115,0) width 149: " blah blah blah blah blah "
text run at (264,0) width 220: "--- this cell spans the table correctly."
RenderBlock (anonymous) at (0,508) size 769x20
RenderBR {BR} at (0,0) size 0x19
RenderBlock {P} at (0,544) size 769x20
RenderText {#text} at (0,0) size 223x19
text run at (0,0) width 223: "Here's the test case from bug #2645."
RenderBlock {P} at (0,580) size 769x60
RenderText {#text} at (0,0) size 767x59
text run at (0,0) width 516: "This test case (below) is derived from home.netscape.com (although not much is left). "
text run at (516,0) width 251: "[This was the table structure for \"Autos ..."
text run at (0,20) width 759: "Local ...\" and the right-hand column (\"ABCNews.com...\"); added an extra column to differentiate this example a bit more from"
text run at (0,40) width 94: "the one above]."
RenderBlock {P} at (0,656) size 769x80
RenderText {#text} at (0,0) size 768x79
text run at (0,0) width 462: "The basic problem is \"competing colspan requests\". The table has two rows, "
text run at (462,0) width 306: "both of which have COLSPAN requests. They are"
text run at (0,20) width 202: "both asking for one more column "
text run at (202,20) width 519: "than the max number of 'real' elements in either row (i.e., both ask for total of 5 but the"
text run at (0,40) width 421: "maximum number of TD in either row is 4). This seems to confuse the "
text run at (421,40) width 333: "algorithm. ;) (Note: all the column elements in these two"
text run at (0,60) width 349: "tables are width=fixed except the TD with colspan=(4|3))."
RenderTable {TABLE} at (0,752) size 680x56 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 678x54
RenderTableRow {TR} at (0,2) size 678x24
RenderTableCell {TD} at (2,2) size 84x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 7x19
text run at (2,2) width 7: "x"
RenderTableCell {TD} at (88,2) size 353x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=2]
RenderText {#text} at (2,2) size 97x19
text run at (2,2) width 97: "this (colspan=2)"
RenderTableCell {TD} at (443,2) size 29x24 [bgcolor=#99CCCC] [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
RenderText {#text} at (2,2) size 25x19
text run at (2,2) width 25: "blue"
RenderTableCell {TD} at (474,2) size 202x24 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
RenderText {#text} at (2,2) size 22x19
text run at (2,2) width 22: "that"
RenderTableRow {TR} at (0,28) size 678x24
RenderTableCell {TD} at (2,28) size 84x24 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 7x19
text run at (2,2) width 7: "x"
RenderTableCell {TD} at (88,28) size 588x24 [bgcolor=#99CCCC] [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=4]
RenderText {#text} at (2,2) size 316x19
text run at (2,2) width 316: "blue (colspan=4) --- doesn't span (5.0 win95 jun17)"
RenderBlock (anonymous) at (0,808) size 769x20
RenderBR {BR} at (0,0) size 0x19
RenderBlock {P} at (0,844) size 769x20
RenderText {#text} at (0,0) size 409x19
text run at (0,0) width 409: "Here's the same table but the 'colspan' values have been normalized."
RenderTable {TABLE} at (0,880) size 680x56 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 678x54
RenderTableRow {TR} at (0,2) size 678x24
RenderTableCell {TD} at (2,2) size 78x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 7x19
text run at (2,2) width 7: "x"
RenderTableCell {TD} at (81,2) size 376x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (2,2) size 97x19
text run at (2,2) width 97: "this (colspan=1)"
RenderTableCell {TD} at (458,2) size 30x24 [bgcolor=#99CCCC] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (2,2) size 25x19
text run at (2,2) width 25: "blue"
RenderTableCell {TD} at (489,2) size 188x24 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
RenderText {#text} at (2,2) size 22x19
text run at (2,2) width 22: "that"
RenderTableRow {TR} at (0,28) size 678x24
RenderTableCell {TD} at (2,28) size 78x24 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 7x19
text run at (2,2) width 7: "x"
RenderTableCell {TD} at (81,28) size 596x24 [bgcolor=#99CCCC] [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=3]
RenderText {#text} at (2,2) size 219x19
text run at (2,2) width 219: "blue (colspan=3) --- spans correctly"
RenderBlock (anonymous) at (0,936) size 769x20
RenderBR {BR} at (0,0) size 0x19