OLD | NEW |
| (Empty) |
1 Properties collection's namedItem property simple test. | |
2 | |
3 Created element of type: div | |
4 Set attribute: itemscope, value: itemscope | |
5 | |
6 Test properties.namedItem(name). | |
7 PASS element.properties.namedItem('foo') is defined. | |
8 PASS element.properties.namedItem('foo').length is 1 | |
9 PASS element.properties.namedItem('foo')[0] is element.firstChild | |
10 | |
11 Test properties[name]. | |
12 PASS element.properties['foo'] is defined. | |
13 PASS element.properties['foo'].length is 1 | |
14 PASS element.properties['foo'][0] is element.firstChild | |
15 | |
16 Test properties[index]. | |
17 PASS element.properties[0] is defined. | |
18 PASS element.properties[0] is element.firstChild | |
19 PASS successfullyParsed is true | |
20 | |
21 TEST COMPLETE | |
22 | |
OLD | NEW |