| OLD | NEW |
| (Empty) |
| 1 Test to verify HTMLPropertiesCollection's behavior of Microdata item with itempr
op attribute and itemref pointing to itself. | |
| 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 Set attribute: id, value: id1 | |
| 9 Set attribute: itemref, value: id1 | |
| 10 Set attribute: itemprop, value: foo | |
| 11 | |
| 12 Item not attached to dom tree | |
| 13 PASS item.properties.length is 0 | |
| 14 PASS item.properties.item(0) is null | |
| 15 PASS item.properties[0] is undefined. | |
| 16 PASS item.properties.namedItem('foo').length is 0 | |
| 17 PASS item.properties.namedItem('foo').item(0) is null | |
| 18 PASS item.properties.namedItem('foo')[0] is undefined. | |
| 19 PASS item.properties.names.length is 0 | |
| 20 PASS item.properties.names.contains('foo') is false | |
| 21 PASS item.properties.names.item(0) is null | |
| 22 PASS item.properties.names.length[0] is undefined. | |
| 23 | |
| 24 Attached item to dom tree | |
| 25 PASS item.properties.length is 0 | |
| 26 PASS item.properties.item(0) is null | |
| 27 PASS item.properties[0] is undefined. | |
| 28 PASS item.properties.namedItem('foo').length is 0 | |
| 29 PASS item.properties.namedItem('foo').item(0) is null | |
| 30 PASS item.properties.namedItem('foo')[0] is undefined. | |
| 31 PASS item.properties.names.length is 0 | |
| 32 PASS item.properties.names.contains('foo') is false | |
| 33 PASS item.properties.names.item(0) is null | |
| 34 PASS item.properties.names.length[0] is undefined. | |
| 35 PASS successfullyParsed is true | |
| 36 | |
| 37 TEST COMPLETE | |
| 38 | |
| OLD | NEW |