| 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 784x20 | |
| 7 LayoutText {#text} at (0,0) size 255x19 | |
| 8 text run at (0,0) width 255: "Tests: the TABLE.createCaption() method" | |
| 9 LayoutBR {BR} at (254,15) size 1x0 | |
| 10 LayoutBlockFlow {P} at (0,36) size 784x60 | |
| 11 LayoutText {#text} at (0,0) size 68x19 | |
| 12 text run at (0,0) width 68: "Conditions:" | |
| 13 LayoutBR {BR} at (68,15) size 0x0 | |
| 14 LayoutText {#text} at (0,20) size 754x39 | |
| 15 text run at (0,20) width 653: "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 (653,20) width 101: "If a caption does" | |
| 17 text run at (0,40) width 272: "exist, the method should return a point
er to it." | |
| 18 LayoutBlockFlow {P} at (0,112) size 784x40 | |
| 19 LayoutText {#text} at (0,0) size 307x19 | |
| 20 text run at (0,0) width 307: "If successful, the first table should ha
ve the caption " | |
| 21 LayoutInline {B} at (0,0) size 40x19 | |
| 22 LayoutText {#text} at (307,0) size 40x19 | |
| 23 text run at (307,0) width 40: "Fruity" | |
| 24 LayoutText {#text} at (347,0) size 281x19 | |
| 25 text run at (347,0) width 281: ", and the second table should have the
caption " | |
| 26 LayoutInline {B} at (0,0) size 75x19 | |
| 27 LayoutText {#text} at (628,0) size 75x19 | |
| 28 text run at (628,0) width 75: "Vegetabley" | |
| 29 LayoutText {#text} at (702,0) size 745x39 | |
| 30 text run at (702,0) width 43: ". Upon" | |
| 31 text run at (0,20) width 549: "failure, the first table will have no c
aption, and the second table will have the caption Things." | |
| 32 LayoutBlockFlow {HR} at (0,168) size 784x2 [border: (1px inset #EEEEEE)] | |
| 33 LayoutTable {TABLE} at (0,178) size 103x102 [border: (1px outset #808080)] | |
| 34 LayoutBlockFlow {CAPTION} at (0,0) size 103x20 | |
| 35 LayoutInline {B} at (0,0) size 41x19 | |
| 36 LayoutText {#text} at (31,0) size 41x19 | |
| 37 text run at (31,0) width 41: "Fruity" | |
| 38 LayoutTableSection {TBODY} at (1,21) size 101x80 | |
| 39 LayoutTableRow {TR} at (0,2) size 101x24 | |
| 40 LayoutTableCell {TH} at (2,2) size 49x24 [border: (1px inset #808080
)] [r=0 c=0 rs=1 cs=1] | |
| 41 LayoutText {#text} at (8,2) size 33x19 | |
| 42 text run at (8,2) width 33: "Fruit" | |
| 43 LayoutTableCell {TH} at (53,2) size 46x24 [border: (1px inset #80808
0)] [r=0 c=1 rs=1 cs=1] | |
| 44 LayoutText {#text} at (4,2) size 38x19 | |
| 45 text run at (4,2) width 38: "Color" | |
| 46 LayoutTableRow {TR} at (0,28) size 101x24 | |
| 47 LayoutTableCell {TD} at (2,28) size 49x24 [border: (1px inset #80808
0)] [r=1 c=0 rs=1 cs=1] | |
| 48 LayoutText {#text} at (2,2) size 45x19 | |
| 49 text run at (2,2) width 45: "Banana" | |
| 50 LayoutTableCell {TD} at (53,28) size 46x24 [border: (1px inset #8080
80)] [r=1 c=1 rs=1 cs=1] | |
| 51 LayoutText {#text} at (2,2) size 42x19 | |
| 52 text run at (2,2) width 42: "Yellow" | |
| 53 LayoutTableRow {TR} at (0,54) size 101x24 | |
| 54 LayoutTableCell {TD} at (2,54) size 49x24 [border: (1px inset #80808
0)] [r=2 c=0 rs=1 cs=1] | |
| 55 LayoutText {#text} at (2,2) size 38x19 | |
| 56 text run at (2,2) width 38: "Grape" | |
| 57 LayoutTableCell {TD} at (53,54) size 46x24 [border: (1px inset #8080
80)] [r=2 c=1 rs=1 cs=1] | |
| 58 LayoutText {#text} at (2,2) size 39x19 | |
| 59 text run at (2,2) width 39: "Purple" | |
| 60 LayoutBlockFlow (anonymous) at (0,280) size 784x20 | |
| 61 LayoutBR {BR} at (0,0) size 0x19 | |
| 62 LayoutTable {TABLE} at (0,300) size 128x102 [border: (1px outset #808080)] | |
| 63 LayoutBlockFlow {CAPTION} at (0,0) size 128x20 | |
| 64 LayoutInline {B} at (0,0) size 76x19 | |
| 65 LayoutText {#text} at (26,0) size 76x19 | |
| 66 text run at (26,0) width 76: "Vegetabley" | |
| 67 LayoutTableSection {TBODY} at (1,21) size 126x80 | |
| 68 LayoutTableRow {TR} at (0,2) size 126x24 | |
| 69 LayoutTableCell {TH} at (2,2) size 71x24 [border: (1px inset #808080
)] [r=0 c=0 rs=1 cs=1] | |
| 70 LayoutText {#text} at (2,2) size 67x19 | |
| 71 text run at (2,2) width 67: "Vegetable" | |
| 72 LayoutTableCell {TH} at (75,2) size 49x24 [border: (1px inset #80808
0)] [r=0 c=1 rs=1 cs=1] | |
| 73 LayoutText {#text} at (6,2) size 37x19 | |
| 74 text run at (6,2) width 37: "Color" | |
| 75 LayoutTableRow {TR} at (0,28) size 126x24 | |
| 76 LayoutTableCell {TD} at (2,28) size 71x24 [border: (1px inset #80808
0)] [r=1 c=0 rs=1 cs=1] | |
| 77 LayoutText {#text} at (2,2) size 40x19 | |
| 78 text run at (2,2) width 40: "Carrot" | |
| 79 LayoutTableCell {TD} at (75,28) size 49x24 [border: (1px inset #8080
80)] [r=1 c=1 rs=1 cs=1] | |
| 80 LayoutText {#text} at (2,2) size 45x19 | |
| 81 text run at (2,2) width 45: "Orange" | |
| 82 LayoutTableRow {TR} at (0,54) size 126x24 | |
| 83 LayoutTableCell {TD} at (2,54) size 71x24 [border: (1px inset #80808
0)] [r=2 c=0 rs=1 cs=1] | |
| 84 LayoutText {#text} at (2,2) size 63x19 | |
| 85 text run at (2,2) width 63: "Cucumber" | |
| 86 LayoutTableCell {TD} at (75,54) size 49x24 [border: (1px inset #8080
80)] [r=2 c=1 rs=1 cs=1] | |
| 87 LayoutText {#text} at (2,2) size 37x19 | |
| 88 text run at (2,2) width 37: "Green" | |
| OLD | NEW |