OLD | NEW |
| (Empty) |
1 Test HTMLPropertiesCollection when itemref pointing to the root node. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 Created element of type: div | |
7 Set attribute: id, value: id1 | |
8 PASS item.properties.length is 1 | |
9 PASS item.properties.item(0) is root.firstChild | |
10 PASS item.properties[0] is root.firstChild | |
11 PASS item.properties.namedItem('foo').length is 1 | |
12 PASS item.properties.namedItem('foo').item(0) is root.firstChild | |
13 PASS item.properties.namedItem('foo')[0] is root.firstChild | |
14 PASS item.properties.names.length is 1 | |
15 PASS item.properties.names.item(0) is 'foo' | |
16 PASS item.properties.names[0] is 'foo' | |
17 PASS successfullyParsed is true | |
18 | |
19 TEST COMPLETE | |
20 | |
OLD | NEW |