OLD | NEW |
| (Empty) |
1 This test ensures that properties collection of a Microdata item must be correct
. | |
2 | |
3 Created element of type: div | |
4 Set attribute: itemscope, value: itemscope | |
5 | |
6 properties.length must be the total number of properties. | |
7 PASS propertiesCollection.length == '4' is true | |
8 | |
9 properties.item(index) and properties[index] must give each property in tree ord
er' | |
10 PASS propertiesCollection.item(0) == childNodes[0] is true | |
11 PASS propertiesCollection.item(1) == childNodes[1] is true | |
12 PASS propertiesCollection.item(2) == childNodes[1].childNodes[0] is true | |
13 PASS propertiesCollection.item(3) == childNodes[2] is true | |
14 | |
15 PASS propertiesCollection[0] == childNodes[0] is true | |
16 PASS propertiesCollection[1] == childNodes[1] is true | |
17 PASS propertiesCollection[2] == childNodes[1].childNodes[0] is true | |
18 PASS propertiesCollection[3] == childNodes[2] is true | |
19 properties[index] and properties.item(index) must return undefined for out of ra
nge index. | |
20 PASS propertiesCollection[4] == undefined is true | |
21 PASS propertiesCollection.item(4) == undefined is true | |
22 PASS successfullyParsed is true | |
23 | |
24 TEST COMPLETE | |
25 | |
OLD | NEW |