OLD | NEW |
| (Empty) |
1 Test to ensure that item with itemprop attribute should not include itself in it
s HTMLPropetiesCollection. | |
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: itemscope, value: itemscope | |
8 | |
9 Item not attached to dom tree | |
10 PASS item.properties.length is 1 | |
11 PASS item.properties.item(0) is item.firstChild | |
12 PASS item.properties[0] is item.firstChild | |
13 PASS item.properties.namedItem('foo').length is 0 | |
14 PASS item.properties.namedItem('foo').item(0) is null | |
15 PASS item.properties.namedItem('foo')[0] is undefined. | |
16 PASS item.properties.namedItem('bar').length is 1 | |
17 PASS item.properties.namedItem('bar').item(0) is item.firstChild | |
18 PASS item.properties.namedItem('bar')[0] is item.firstChild | |
19 PASS item.properties.names.length is 1 | |
20 PASS item.properties.names.contains('foo') is false | |
21 PASS item.properties.names.contains('bar') is true | |
22 PASS item.properties.names.item(0) is 'bar' | |
23 PASS item.properties.names[0] is 'bar' | |
24 | |
25 Attached item to dom tree | |
26 PASS item.properties.length is 1 | |
27 PASS item.properties.item(0) is item.firstChild | |
28 PASS item.properties[0] is item.firstChild | |
29 PASS item.properties.namedItem('foo').length is 0 | |
30 PASS item.properties.namedItem('foo').item(0) is null | |
31 PASS item.properties.namedItem('foo')[0] is undefined. | |
32 PASS item.properties.namedItem('bar').length is 1 | |
33 PASS item.properties.namedItem('bar').item(0) is item.firstChild | |
34 PASS item.properties.namedItem('bar')[0] is item.firstChild | |
35 PASS item.properties.names.length is 1 | |
36 PASS item.properties.names.contains('foo') is false | |
37 PASS item.properties.names.contains('bar') is true | |
38 PASS item.properties.names.item(0) is 'bar' | |
39 PASS item.properties.names[0] is 'bar' | |
40 PASS successfullyParsed is true | |
41 | |
42 TEST COMPLETE | |
43 | |
OLD | NEW |