blob: 72a9391bcf7d7ddfb2fcec0772f86667caccb25e [file] [log] [blame]
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 784x18
RenderText {#text} at (0,0) size 271x18
text run at (0,0) width 271: "Tests: the TABLE.createCaption() method"
RenderBR {BR} at (270,0) size 1x18
RenderBlock {P} at (0,34) size 784x54
RenderText {#text} at (0,0) size 75x18
text run at (0,0) width 75: "Conditions:"
RenderBR {BR} at (74,0) size 1x18
RenderText {#text} at (0,18) size 768x36
text run at (0,18) width 695: "If no caption exists, the method should create an empty caption, add it to the table, and return a pointer to it. "
text run at (694,18) width 74: "If a caption"
text run at (0,36) width 326: "does exist, the method should return a pointer to it."
RenderBlock {P} at (0,104) size 784x36
RenderText {#text} at (0,0) size 332x18
text run at (0,0) width 332: "If successful, the first table should have the caption "
RenderInline {B} at (0,0) size 45x18
RenderText {#text} at (331,0) size 45x18
text run at (331,0) width 45: "Fruity"
RenderText {#text} at (375,0) size 298x18
text run at (375,0) width 298: ", and the second table should have the caption "
RenderInline {B} at (0,0) size 75x18
RenderText {#text} at (672,0) size 75x18
text run at (672,0) width 75: "Vegetabley"
RenderText {#text} at (746,0) size 751x36
text run at (746,0) width 5: "."
text run at (0,18) width 636: "Upon failure, the first table will have no caption, and the second table will have the caption Things."
RenderBlock {HR} at (0,156) size 784x2 [border: (1px inset #000000)]
RenderTable {TABLE} at (0,166) size 110x94 [border: (1px outset #808080)]
RenderBlock {CAPTION} at (0,0) size 110x18
RenderInline {B} at (0,0) size 45x18
RenderText {#text} at (32,0) size 45x18
text run at (32,0) width 45: "Fruity"
RenderTableSection {TBODY} at (1,19) size 108x74
RenderTableRow {TR} at (0,2) size 108x22
RenderTableCell {TH} at (2,2) size 52x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (8,2) size 36x18
text run at (8,2) width 36: "Fruit"
RenderTableCell {TH} at (55,2) size 51x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (5,2) size 40x18
text run at (5,2) width 40: "Color"
RenderTableRow {TR} at (0,26) size 108x22
RenderTableCell {TD} at (2,26) size 52x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 48x18
text run at (2,2) width 48: "Banana"
RenderTableCell {TD} at (55,26) size 51x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (2,2) size 46x18
text run at (2,2) width 46: "Yellow"
RenderTableRow {TR} at (0,50) size 108x22
RenderTableCell {TD} at (2,50) size 52x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 40x18
text run at (2,2) width 40: "Grape"
RenderTableCell {TD} at (55,50) size 51x22 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (2,2) size 42x18
text run at (2,2) width 42: "Purple"
RenderBlock (anonymous) at (0,260) size 784x18
RenderBR {BR} at (0,0) size 0x18
RenderTable {TABLE} at (0,278) size 130x94 [border: (1px outset #808080)]
RenderBlock {CAPTION} at (0,0) size 130x18
RenderInline {B} at (0,0) size 75x18
RenderText {#text} at (27,0) size 75x18
text run at (27,0) width 75: "Vegetabley"
RenderTableSection {TBODY} at (1,19) size 128x74
RenderTableRow {TR} at (0,2) size 128x22
RenderTableCell {TH} at (2,2) size 71x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 67x18
text run at (2,2) width 67: "Vegetable"
RenderTableCell {TH} at (74,2) size 52x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderText {#text} at (5,2) size 41x18
text run at (5,2) width 41: "Color"
RenderTableRow {TR} at (0,26) size 128x22
RenderTableCell {TD} at (2,26) size 71x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 41x18
text run at (2,2) width 41: "Carrot"
RenderTableCell {TD} at (74,26) size 52x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (2,2) size 48x18
text run at (2,2) width 48: "Orange"
RenderTableRow {TR} at (0,50) size 128x22
RenderTableCell {TD} at (2,50) size 71x22 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
RenderText {#text} at (2,2) size 67x18
text run at (2,2) width 67: "Cucumber"
RenderTableCell {TD} at (74,50) size 52x22 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
RenderText {#text} at (2,2) size 40x18
text run at (2,2) width 40: "Green"