OLD | NEW |
| (Empty) |
1 itemType attribute simple test. | |
2 | |
3 Created element of type: div | |
4 Set attribute: itemtype, value: http://example.com/foo | |
5 | |
6 The itemType attribute must be defined. | |
7 PASS element.itemType is defined. | |
8 PASS element.itemType.toString() is 'http://example.com/foo' | |
9 | |
10 itemType and itemType.length must be read-only. | |
11 PASS element.itemType = 'http://example.com/test'; element.itemType.toString() =
= 'http://example.com/foo' is true | |
12 PASS element.itemType.contains('http://example.com/test') is false | |
13 PASS element.itemType.length = 0; element.itemType.length == 1 is true | |
14 | |
15 removeAttribute('itemType') must reflect correctly. | |
16 PASS element.itemType.toString() is '' | |
17 PASS successfullyParsed is true | |
18 | |
19 TEST COMPLETE | |
20 | |
OLD | NEW |