OLD | NEW |
| (Empty) |
1 This test ensures that namedItem must be case sensitive. | |
2 | |
3 Created element of type: div | |
4 Set attribute: itemscope, value: itemscope | |
5 PASS element.properties.namedItem('foo').length is 2 | |
6 PASS element.properties.namedItem('FOO').length is 1 | |
7 PASS element.properties.namedItem('FOo').length is 1 | |
8 PASS element.properties.namedItem('foo')[0] is element.firstChild | |
9 PASS element.properties.namedItem('foo')[1] is element.childNodes[1].lastChild | |
10 PASS element.properties.namedItem('FOO')[0] is element.childNodes[1].firstChild | |
11 PASS element.properties.namedItem('FOo')[0] is element.childNodes[1].lastChild | |
12 | |
13 PASS element.properties['foo'].length is 2 | |
14 PASS element.properties['FOO'].length is 1 | |
15 PASS element.properties['FOo'].length is 1 | |
16 PASS element.properties['foo'][0] is element.firstChild | |
17 PASS element.properties['foo'][1] is element.childNodes[1].lastChild | |
18 PASS element.properties['FOO'][0] is element.childNodes[1].firstChild | |
19 PASS element.properties['FOo'][0] is element.childNodes[1].lastChild | |
20 PASS successfullyParsed is true | |
21 | |
22 TEST COMPLETE | |
23 | |
OLD | NEW |