blob: b417641d83d0d24acf0289b1de596ca68218442a [file] [log] [blame]
layer at (0,0) size 785x1476
RenderView at (0,0) size 785x600
layer at (0,0) size 785x1476
RenderBlock {HTML} at (0,0) size 785x1476
RenderBody {BODY} at (8,21) size 769x1439
RenderBlock {H1} at (0,0) size 769x37
RenderText {#text} at (0,0) size 290x37
text run at (0,0) width 290: "Table Border Models"
RenderBlock {P} at (0,58) size 769x19
RenderText {#text} at (0,0) size 117x18
text run at (0,0) width 117: "This tests tests the "
RenderInline {A} at (0,0) size 208x18 [color=#0000EE]
RenderText {#text} at (117,0) size 208x18
text run at (117,0) width 208: "CSS2 spec rules on table borders"
RenderText {#text} at (325,0) size 180x18
text run at (325,0) width 8: ". "
text run at (333,0) width 172: "The styles applied here are:"
RenderBlock {PRE} at (0,92) size 769x181
RenderText {#text} at (0,0) size 688x180
text run at (0,0) width 408: "TABLE\x{9}{ margin: 1em; border: medium solid blue; }"
text run at (0,15) width 408: "TD\x{9}{ border: thin solid green; padding: 5px; }"
text run at (0,30) width 392: "TH { border: medium solid purple; padding: 5px; }"
text run at (0,45) width 360: "TABLE.one, TABLE.two { border-spacing: 1em; }"
text run at (0,60) width 320: "TABLE.one { border-collapse: collapse; }"
text run at (0,75) width 320: "TABLE.two { border-collapse: separate; }"
text run at (0,90) width 536: "TABLE.three { border-collapse: separate; border-spacing: 0 0.5em; }"
text run at (0,105) width 528: "TABLE.four { border-collapse: separate; border-spacing: 0.5em 0; }"
text run at (0,120) width 328: "TABLE.five { border-collapse: separate; }"
text run at (0,135) width 464: "TABLE.five, TABLE.five TD, TABLE.five TH { border: none; }"
text run at (0,150) width 688: "TABLE.five TR, TABLE.five COL, TABLE.five COLGROUP, TABLE.five TBODY, TABLE.five THEAD"
text run at (0,165) width 296: "\x{9}{ border: medium solid red; }"
RenderTable {TABLE} at (16,288) size 737x185 [border: (1px solid #0000FF)]
RenderTableSection {TBODY} at (1,1) size 734x181
RenderTableRow {TR} at (0,0) size 734x31
RenderTableCell {TH} at (0,0) size 247x31 [border: (2px solid #800080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (82,7) size 83x18
text run at (82,7) width 83: "Header One"
RenderTableCell {TH} at (246,0) size 232x31 [border: (2px solid #800080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (73,7) size 86x18
text run at (73,7) width 86: "Header Two"
RenderTableCell {TH} at (477,0) size 258x31 [border: (2px solid #800080)] [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (81,7) size 96x18
text run at (81,7) width 96: "Header Three"
RenderTableRow {TR} at (0,31) size 734x66
RenderTableCell {TD} at (0,40) size 247x48 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (7,7) size 230x36
text run at (7,7) width 230: "This table uses the collapsed borders"
text run at (7,25) width 43: "model."
RenderTableCell {TD} at (246,40) size 232x48 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (6,7) size 202x36
text run at (6,7) width 202: "This means that elements within"
text run at (6,25) width 201: "the cell have no border-spacing."
RenderTableCell {TD} at (477,31) size 258x66 [border: (2px solid #008000)] [r=1 c=2 rs=1 cs=1]
RenderText {#text} at (6,7) size 237x54
text run at (6,7) width 213: "Since it has collapsed borders, the"
text run at (6,25) width 176: "borders on the header cells, "
text run at (182,25) width 35: "on all"
text run at (6,43) width 237: "sides, should be medium solid purple."
RenderTableRow {TR} at (0,97) size 734x84
RenderTableCell {TD} at (0,106) size 247x66 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (7,6) size 227x54
text run at (7,6) width 224: "The border of the table itself should"
text run at (7,24) width 188: "be medium solid blue, except "
text run at (195,24) width 39: "where"
text run at (7,42) width 202: "header cells override the border."
RenderTableCell {TD} at (246,106) size 232x66 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (6,6) size 211x54
text run at (6,6) width 211: "The borders that I haven't already"
text run at (6,24) width 200: "mentioned (all the other internal"
text run at (6,42) width 204: "ones) should be thin solid green."
RenderTableCell {TD} at (477,97) size 258x84 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
RenderText {#text} at (6,6) size 232x54
text run at (6,6) width 232: "This table should have a 1em margin"
text run at (6,24) width 111: "around all edges. "
text run at (117,24) width 80: "This margin "
text run at (197,24) width 10: "is"
text run at (6,42) width 121: "measured from the "
RenderInline {EM} at (0,0) size 43x18
RenderText {#text} at (127,42) size 43x18
text run at (127,42) width 43: "middle"
RenderText {#text} at (170,42) size 199x36
text run at (170,42) width 35: " of its"
text run at (6,60) width 45: "border."
RenderTable {TABLE} at (16,488) size 737x237 [border: (3px solid #0000FF)]
RenderTableSection {TBODY} at (3,3) size 731x230
RenderTableRow {TR} at (0,16) size 731x34
RenderTableCell {TH} at (16,16) size 163x34 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (40,8) size 83x18
text run at (40,8) width 83: "Header One"
RenderTableCell {TH} at (195,16) size 193x34 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (53,8) size 86x18
text run at (53,8) width 86: "Header Two"
RenderTableCell {TH} at (403,16) size 313x34 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (108,8) size 96x18
text run at (108,8) width 96: "Header Three"
RenderTableRow {TR} at (0,66) size 731x66
RenderTableCell {TD} at (16,66) size 163x66 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (6,6) size 116x54
text run at (6,6) width 116: "This table uses the"
text run at (6,24) width 110: "separated borders"
text run at (6,42) width 43: "model."
RenderTableCell {TD} at (195,66) size 193x66 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (6,6) size 173x54
text run at (6,6) width 158: "This means that elements"
text run at (6,24) width 173: "within the cell have border-"
text run at (6,42) width 100: "spacing of 1em."
RenderTableCell {TD} at (403,75) size 313x48 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]
RenderText {#text} at (6,6) size 279x36
text run at (6,6) width 205: "The borders on the header cells, "
text run at (211,6) width 74: "on all sides,"
text run at (6,24) width 198: "should be medium solid purple."
RenderTableRow {TR} at (0,148) size 731x66
RenderTableCell {TD} at (16,148) size 163x66 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (6,6) size 150x54
text run at (6,6) width 144: "The border of the table"
text run at (6,24) width 150: "itself should be medium"
text run at (6,42) width 65: "solid blue."
RenderTableCell {TD} at (195,157) size 193x48 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (6,6) size 166x36
text run at (6,6) width 161: "The borders of other cells"
text run at (6,24) width 166: "should be thin solid green."
RenderTableCell {TD} at (403,148) size 313x66 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
RenderText {#text} at (6,6) size 299x36
text run at (6,6) width 299: "This table should have a 1em margin around all"
text run at (6,24) width 44: "edges. "
text run at (50,24) width 80: "This margin "
text run at (130,24) width 135: "is measured from the "
RenderInline {EM} at (0,0) size 292x36
RenderText {#text} at (265,24) size 292x36
text run at (265,24) width 33: "outer"
text run at (6,42) width 30: "edge"
RenderText {#text} at (36,42) size 84x18
text run at (36,42) width 84: " of its border."
RenderTable {TABLE} at (16,740) size 737x277 [border: (3px solid #0000FF)]
RenderTableSection {TBODY} at (3,3) size 731x270
RenderTableRow {TR} at (0,8) size 731x34
RenderTableCell {TH} at (0,8) size 190x34 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (53,8) size 83x18
text run at (53,8) width 83: "Header One"
RenderTableCell {TH} at (189,8) size 268x34 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (90,8) size 86x18
text run at (90,8) width 86: "Header Two"
RenderTableCell {TH} at (456,8) size 276x34 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (90,8) size 95x18
text run at (90,8) width 95: "Header Three"
RenderTableRow {TR} at (0,50) size 731x102
RenderTableCell {TD} at (0,77) size 190x48 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (6,6) size 157x36
text run at (6,6) width 116: "This table uses the"
text run at (6,24) width 157: "separated borders model."
RenderTableCell {TD} at (189,50) size 268x102 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (6,6) size 252x90
text run at (6,6) width 252: "Elements within the cell have horizontal"
text run at (6,24) width 187: "border-spacing (i.e., width of "
text run at (193,24) width 46: "vertical"
text run at (6,42) width 144: "lines) of 0 and vertical "
text run at (150,42) width 94: "border-spacing"
text run at (6,60) width 210: "(i.e., height of horizontal lines) of"
text run at (6,78) width 43: "0.5em."
RenderTableCell {TD} at (456,77) size 276x48 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]
RenderText {#text} at (6,6) size 240x36
text run at (6,6) width 205: "The borders on the header cells, "
text run at (211,6) width 35: "on all"
text run at (6,24) width 237: "sides, should be medium solid purple."
RenderTableRow {TR} at (0,160) size 731x102
RenderTableCell {TD} at (0,160) size 190x102 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (6,6) size 162x90
text run at (6,6) width 144: "The border of the table"
text run at (6,24) width 150: "itself should be medium"
text run at (6,42) width 69: "solid blue. "
text run at (75,42) width 93: "The borders of"
text run at (6,60) width 157: "other cells should be thin"
text run at (6,78) width 73: "solid green."
RenderTableCell {TD} at (189,169) size 268x84 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (6,6) size 232x54
text run at (6,6) width 232: "This table should have a 1em margin"
text run at (6,24) width 111: "around all edges. "
text run at (117,24) width 80: "This margin "
text run at (197,24) width 10: "is"
text run at (6,42) width 121: "measured from the "
RenderInline {EM} at (0,0) size 67x18
RenderText {#text} at (127,42) size 67x18
text run at (127,42) width 67: "outer edge"
RenderText {#text} at (194,42) size 223x36
text run at (194,42) width 35: " of its"
text run at (6,60) width 45: "border."
RenderTableCell {TD} at (456,160) size 276x102 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
RenderText {#text} at (6,6) size 250x90
text run at (6,6) width 242: "The table should not be wider than the"
text run at (6,24) width 174: "room available for it unless "
text run at (180,24) width 76: "that space is"
text run at (6,42) width 73: "very small. "
text run at (79,42) width 169: "Because of its margins, the"
text run at (6,60) width 80: "width of the "
text run at (86,60) width 153: "table should be less than"
text run at (6,78) width 41: "100%."
RenderTable {TABLE} at (16,1032) size 737x209 [border: (3px solid #0000FF)]
RenderTableSection {TBODY} at (3,3) size 731x202
RenderTableRow {TR} at (0,0) size 731x34
RenderTableCell {TH} at (8,0) size 202x34 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (59,8) size 83x18
text run at (59,8) width 83: "Header One"
RenderTableCell {TH} at (217,0) size 206x34 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (59,8) size 86x18
text run at (59,8) width 86: "Header Two"
RenderTableCell {TH} at (430,0) size 294x34 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (98,8) size 96x18
text run at (98,8) width 96: "Header Three"
RenderTableRow {TR} at (0,34) size 731x84
RenderTableCell {TD} at (8,52) size 202x48 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (6,6) size 179x36
text run at (6,6) width 179: "This table uses the separated"
text run at (6,24) width 94: "borders model."
RenderTableCell {TD} at (217,34) size 206x84 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (6,6) size 185x72
text run at (6,6) width 185: "Elements within the cell have"
text run at (6,24) width 178: "horizontal border-spacing of"
text run at (6,42) width 120: "0.5em and vertical "
text run at (126,42) width 46: "border-"
text run at (6,60) width 81: "spacing of 0."
RenderTableCell {TD} at (430,52) size 294x48 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]
RenderText {#text} at (6,6) size 279x36
text run at (6,6) width 205: "The borders on the header cells, "
text run at (211,6) width 74: "on all sides,"
text run at (6,24) width 198: "should be medium solid purple."
RenderTableRow {TR} at (0,118) size 731x84
RenderTableCell {TD} at (8,118) size 202x84 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (6,6) size 185x72
text run at (6,6) width 178: "The border of the table itself"
text run at (6,24) width 185: "should be medium solid blue."
text run at (6,42) width 161: "The borders of other cells"
text run at (6,60) width 166: "should be thin solid green."
RenderTableCell {TD} at (217,118) size 206x84 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (6,6) size 187x54
text run at (6,6) width 184: "This table should have a 1em"
text run at (6,24) width 159: "margin around all edges. "
text run at (165,24) width 28: "This"
text run at (6,42) width 48: "margin "
text run at (54,42) width 131: "is measured from the"
RenderInline {EM} at (0,0) size 67x18
RenderText {#text} at (6,60) size 67x18
text run at (6,60) width 67: "outer edge"
RenderText {#text} at (73,60) size 84x18
text run at (73,60) width 84: " of its border."
RenderTableCell {TD} at (430,118) size 294x84 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]
RenderText {#text} at (6,6) size 279x72
text run at (6,6) width 279: "The table should not be wider than the room"
text run at (6,24) width 137: "available for it unless "
text run at (143,24) width 108: "that space is very"
text run at (6,42) width 41: "small. "
text run at (47,42) width 226: "Because of its margins, the width of"
text run at (6,60) width 23: "the "
text run at (29,60) width 198: "table should be less than 100%."
RenderTable {TABLE} at (16,1256) size 737x183
RenderBlock {CAPTION} at (0,0) size 737x18
RenderText {#text} at (309,0) size 119x18
text run at (309,0) width 119: "This is the caption."
RenderTableCol {COLGROUP} at (0,0) size 0x0 [border: (3px solid #FF0000)]
RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)]
RenderTableCol {COLGROUP} at (0,0) size 0x0 [border: (3px solid #FF0000)]
RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)]
RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)]
RenderTableSection {THEAD} at (0,18) size 737x32 [border: (3px solid #FF0000)]
RenderTableRow {TR} at (0,2) size 737x28 [border: (3px solid #FF0000)]
RenderTableCell {TH} at (2,2) size 121x28 [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (19,5) size 83x18
text run at (19,5) width 83: "Header One"
RenderTableCell {TH} at (124,2) size 321x28 [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (117,5) size 86x18
text run at (117,5) width 86: "Header Two"
RenderTableCell {TH} at (446,2) size 290x28 [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (96,5) size 96x18
text run at (96,5) width 96: "Header Three"
RenderTableSection {TBODY} at (0,50) size 737x132 [border: (3px solid #FF0000)]
RenderTableRow {TR} at (0,0) size 737x64 [border: (3px solid #FF0000)]
RenderTableCell {TD} at (2,0) size 121x64 [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (5,5) size 94x54
text run at (5,5) width 93: "This table uses"
text run at (5,23) width 82: "the separated"
text run at (5,41) width 94: "borders model."
RenderTableCell {TD} at (124,9) size 321x46 [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (5,5) size 279x36
text run at (5,5) width 279: "This means that borders are allowed only on"
text run at (5,23) width 144: "table elements or table "
text run at (149,23) width 85: "cell elements."
RenderTableCell {TD} at (446,0) size 290x64 [r=0 c=2 rs=1 cs=1]
RenderText {#text} at (5,5) size 255x54
text run at (5,5) width 240: "They are not allowed on elements that"
text run at (5,23) width 100: "represent rows, "
text run at (105,23) width 155: "row-groups, columns, or"
text run at (5,41) width 99: "column-groups."
RenderTableRow {TR} at (0,66) size 737x64 [border: (3px solid #FF0000)]
RenderTableCell {TD} at (2,66) size 121x64 [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (5,5) size 102x54
text run at (5,5) width 102: "There should be"
text run at (5,23) width 101: "no borders at all"
text run at (5,41) width 81: "on this table!"
RenderTableCell {TD} at (124,66) size 321x64 [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (5,5) size 306x54
text run at (5,5) width 266: "If there are any borders shown that are not"
text run at (5,23) width 148: "medium solid red, then "
text run at (153,23) width 158: "the problem is something"
text run at (5,41) width 212: "other than what this test is testing."
RenderTableCell {TD} at (446,66) size 290x64 [r=1 c=2 rs=1 cs=1]
RenderText {#text} at (5,5) size 265x54
text run at (5,5) width 232: "This table should have a 1em margin"
text run at (5,23) width 111: "around all edges. "
text run at (116,23) width 80: "This margin "
text run at (196,23) width 74: "is measured"
text run at (5,41) width 57: "from the "
RenderInline {EM} at (0,0) size 67x18
RenderText {#text} at (62,41) size 67x18
text run at (62,41) width 67: "outer edge"
RenderText {#text} at (129,41) size 84x18
text run at (129,41) width 84: " of its border."