OLD | NEW |
| (Empty) |
1 Microdata properties collection must update on adding or removing property. | |
2 | |
3 PASS propertyNodeList.length == '1' is true | |
4 PASS propertyNodeList[0] == item.children[0] is true | |
5 Add a property to the item. | |
6 Created element of type: div | |
7 Set attribute: itemprop, value: foo | |
8 PASS propertyNodeList.length == 2 is true | |
9 PASS propertyNodeList[0] == item.children[0] is true | |
10 PASS propertyNodeList[1] == item.children[1] is true | |
11 Remove itemprop attribute of the first child. | |
12 PASS propertyNodeList.length == 1 is true | |
13 PASS propertyNodeList[0] == item.children[1] is true | |
14 Add itemprop attribute to the first child. | |
15 PASS propertyNodeList.length == 2 is true | |
16 PASS propertyNodeList[0] == item.children[0] is true | |
17 PASS propertyNodeList[1] == item.children[1] is true | |
18 Add itemref attribute. | |
19 PASS propertyNodeList.length == 3 is true | |
20 PASS propertyNodeList[0] == testElement is true | |
21 PASS propertyNodeList[1] == item.children[0] is true | |
22 PASS propertyNodeList[2] == item.children[1] is true | |
23 Remove itemref attribute. | |
24 PASS propertyNodeList.length == 2 is true | |
25 PASS propertyNodeList[0] == item.children[0] is true | |
26 PASS propertyNodeList[1] == item.children[1] is true | |
27 Add itemref attribute. | |
28 PASS propertyNodeList.length == 3 is true | |
29 PASS propertyNodeList[0] == testElement is true | |
30 PASS propertyNodeList[1] == item.children[0] is true | |
31 PASS propertyNodeList[2] == item.children[1] is true | |
32 PASS successfullyParsed is true | |
33 | |
34 TEST COMPLETE | |
35 | |
OLD | NEW |