OLD | NEW |
| (Empty) |
1 This tests the behavior of properties collection on adding or removing itemscope
attribute. | |
2 | |
3 Created element of type: div | |
4 | |
5 The properties collection must be empty if the element does not have an itemscop
e attribute. | |
6 PASS element.properties.length == '0' is true | |
7 PASS element.properties[0] == undefined is true | |
8 PASS element.properties.item(0) == undefined is true | |
9 | |
10 The properties collection must become populated if we add itemscope attribute. | |
11 PASS element.properties.length == '1' is true | |
12 PASS element.properties[0] == element.firstChild is true | |
13 PASS element.properties.item(0) == element.firstChild is true | |
14 | |
15 The properties collection must become empty if we remove itemscope attribute. | |
16 PASS element.properties.length == '0' is true | |
17 PASS element.properties[0] == undefined is true | |
18 PASS element.properties.item(0) == undefined is true | |
19 PASS successfullyParsed is true | |
20 | |
21 TEST COMPLETE | |
22 | |
OLD | NEW |