| OLD | NEW |
| (Empty) |
| 1 layer at (0,0) size 800x600 | |
| 2 LayoutView at (0,0) size 800x600 | |
| 3 layer at (0,0) size 800x600 | |
| 4 LayoutBlockFlow {HTML} at (0,0) size 800x600 | |
| 5 LayoutBlockFlow {BODY} at (8,8) size 784x584 | |
| 6 LayoutBlockFlow {P} at (0,0) size 784x18 | |
| 7 LayoutText {#text} at (0,0) size 271x18 | |
| 8 text run at (0,0) width 271: "Tests: the TABLE.createCaption() method" | |
| 9 LayoutBR {BR} at (270,14) size 1x0 | |
| 10 LayoutBlockFlow {P} at (0,34) size 784x54 | |
| 11 LayoutText {#text} at (0,0) size 75x18 | |
| 12 text run at (0,0) width 75: "Conditions:" | |
| 13 LayoutBR {BR} at (74,14) size 1x0 | |
| 14 LayoutText {#text} at (0,18) size 768x36 | |
| 15 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. " | |
| 16 text run at (694,18) width 74: "If a caption" | |
| 17 text run at (0,36) width 326: "does exist, the method should return a
pointer to it." | |
| 18 LayoutBlockFlow {P} at (0,104) size 784x36 | |
| 19 LayoutText {#text} at (0,0) size 332x18 | |
| 20 text run at (0,0) width 332: "If successful, the first table should ha
ve the caption " | |
| 21 LayoutInline {B} at (0,0) size 45x18 | |
| 22 LayoutText {#text} at (331,0) size 45x18 | |
| 23 text run at (331,0) width 45: "Fruity" | |
| 24 LayoutText {#text} at (375,0) size 298x18 | |
| 25 text run at (375,0) width 298: ", and the second table should have the
caption " | |
| 26 LayoutInline {B} at (0,0) size 75x18 | |
| 27 LayoutText {#text} at (672,0) size 75x18 | |
| 28 text run at (672,0) width 75: "Vegetabley" | |
| 29 LayoutText {#text} at (746,0) size 751x36 | |
| 30 text run at (746,0) width 5: "." | |
| 31 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." | |
| 32 LayoutBlockFlow {HR} at (0,156) size 784x2 [border: (1px inset #EEEEEE)] | |
| 33 LayoutTable {TABLE} at (0,166) size 110x94 [border: (1px outset #808080)] | |
| 34 LayoutBlockFlow {CAPTION} at (0,0) size 110x18 | |
| 35 LayoutInline {B} at (0,0) size 44x18 | |
| 36 LayoutText {#text} at (33,0) size 44x18 | |
| 37 text run at (33,0) width 44: "Fruity" | |
| 38 LayoutTableSection {TBODY} at (1,19) size 108x74 | |
| 39 LayoutTableRow {TR} at (0,2) size 108x22 | |
| 40 LayoutTableCell {TH} at (2,2) size 52x22 [border: (1px inset #808080
)] [r=0 c=0 rs=1 cs=1] | |
| 41 LayoutText {#text} at (8,2) size 36x18 | |
| 42 text run at (8,2) width 36: "Fruit" | |
| 43 LayoutTableCell {TH} at (56,2) size 50x22 [border: (1px inset #80808
0)] [r=0 c=1 rs=1 cs=1] | |
| 44 LayoutText {#text} at (5,2) size 40x18 | |
| 45 text run at (5,2) width 40: "Color" | |
| 46 LayoutTableRow {TR} at (0,26) size 108x22 | |
| 47 LayoutTableCell {TD} at (2,26) size 52x22 [border: (1px inset #80808
0)] [r=1 c=0 rs=1 cs=1] | |
| 48 LayoutText {#text} at (2,2) size 48x18 | |
| 49 text run at (2,2) width 48: "Banana" | |
| 50 LayoutTableCell {TD} at (56,26) size 50x22 [border: (1px inset #8080
80)] [r=1 c=1 rs=1 cs=1] | |
| 51 LayoutText {#text} at (2,2) size 46x18 | |
| 52 text run at (2,2) width 46: "Yellow" | |
| 53 LayoutTableRow {TR} at (0,50) size 108x22 | |
| 54 LayoutTableCell {TD} at (2,50) size 52x22 [border: (1px inset #80808
0)] [r=2 c=0 rs=1 cs=1] | |
| 55 LayoutText {#text} at (2,2) size 40x18 | |
| 56 text run at (2,2) width 40: "Grape" | |
| 57 LayoutTableCell {TD} at (56,50) size 50x22 [border: (1px inset #8080
80)] [r=2 c=1 rs=1 cs=1] | |
| 58 LayoutText {#text} at (2,2) size 42x18 | |
| 59 text run at (2,2) width 42: "Purple" | |
| 60 LayoutBlockFlow (anonymous) at (0,260) size 784x18 | |
| 61 LayoutBR {BR} at (0,0) size 0x18 | |
| 62 LayoutTable {TABLE} at (0,278) size 131x94 [border: (1px outset #808080)] | |
| 63 LayoutBlockFlow {CAPTION} at (0,0) size 131x18 | |
| 64 LayoutInline {B} at (0,0) size 75x18 | |
| 65 LayoutText {#text} at (28,0) size 75x18 | |
| 66 text run at (28,0) width 75: "Vegetabley" | |
| 67 LayoutTableSection {TBODY} at (1,19) size 129x74 | |
| 68 LayoutTableRow {TR} at (0,2) size 129x22 | |
| 69 LayoutTableCell {TH} at (2,2) size 71x22 [border: (1px inset #808080
)] [r=0 c=0 rs=1 cs=1] | |
| 70 LayoutText {#text} at (2,2) size 67x18 | |
| 71 text run at (2,2) width 67: "Vegetable" | |
| 72 LayoutTableCell {TH} at (75,2) size 52x22 [border: (1px inset #80808
0)] [r=0 c=1 rs=1 cs=1] | |
| 73 LayoutText {#text} at (6,2) size 40x18 | |
| 74 text run at (6,2) width 40: "Color" | |
| 75 LayoutTableRow {TR} at (0,26) size 129x22 | |
| 76 LayoutTableCell {TD} at (2,26) size 71x22 [border: (1px inset #80808
0)] [r=1 c=0 rs=1 cs=1] | |
| 77 LayoutText {#text} at (2,2) size 41x18 | |
| 78 text run at (2,2) width 41: "Carrot" | |
| 79 LayoutTableCell {TD} at (75,26) size 52x22 [border: (1px inset #8080
80)] [r=1 c=1 rs=1 cs=1] | |
| 80 LayoutText {#text} at (2,2) size 48x18 | |
| 81 text run at (2,2) width 48: "Orange" | |
| 82 LayoutTableRow {TR} at (0,50) size 129x22 | |
| 83 LayoutTableCell {TD} at (2,50) size 71x22 [border: (1px inset #80808
0)] [r=2 c=0 rs=1 cs=1] | |
| 84 LayoutText {#text} at (2,2) size 67x18 | |
| 85 text run at (2,2) width 67: "Cucumber" | |
| 86 LayoutTableCell {TD} at (75,50) size 52x22 [border: (1px inset #8080
80)] [r=2 c=1 rs=1 cs=1] | |
| 87 LayoutText {#text} at (2,2) size 40x18 | |
| 88 text run at (2,2) width 40: "Green" | |
| OLD | NEW |