OLD | NEW |
| (Empty) |
1 An excerpt from an early Acid3 test 66: test the ordering and creation of rows | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS table.rows.length is 6 | |
7 PASS table.getElementsByTagName('tr').length is 6 | |
8 PASS table.childNodes.length is 3 | |
9 PASS table.tHead is table.childNodes[0] | |
10 PASS table.tHead.childNodes[0] is table.getElementsByTagName('tr')[0] | |
11 PASS table.tHead.childNodes[1] is table.getElementsByTagName('tr')[1] | |
12 PASS rows[2] is table.getElementsByTagName('tr')[1] | |
13 PASS table.tHead.childNodes[2] is table.getElementsByTagName('tr')[2] | |
14 PASS rows[3] is table.getElementsByTagName('tr')[2] | |
15 PASS table.tFoot is table.childNodes[1] | |
16 PASS table.tFoot.childNodes[0] is table.getElementsByTagName('tr')[3] | |
17 PASS rows[0] is table.getElementsByTagName('tr')[3] | |
18 PASS table.tFoot.childNodes[1] is table.getElementsByTagName('tr')[4] | |
19 PASS rows[6] is table.getElementsByTagName('tr')[4] | |
20 PASS table.childNodes[2] is table.getElementsByTagName('tr')[5] | |
21 PASS rows[1] is table.getElementsByTagName('tr')[5] | |
22 PASS table.tBodies.length is 0 | |
23 PASS successfullyParsed is true | |
24 | |
25 TEST COMPLETE | |
26 | |
OLD | NEW |