OLD | NEW |
| (Empty) |
1 itemid attribute simple test. | |
2 | |
3 Created element of type: div | |
4 Set attribute: itemid, value: http://example.com/foo | |
5 | |
6 The itemId attribute must be defined. | |
7 PASS element.itemId is defined. | |
8 PASS element.itemId is 'http://example.com/foo' | |
9 | |
10 itemId attribute must be case-senaitive. | |
11 Created element of type: div | |
12 Set attribute: itemid, value: http://example.com/FOO | |
13 PASS createElement('div', {itemid: 'http://example.com/FOO'}).itemId == 'http://
example.com/FOO'; is true | |
14 | |
15 itemId must strip leading and trailing whitespace. | |
16 Created element of type: div | |
17 Set attribute: itemid, value: http://example.com/foo | |
18 PASS createElement('div', {itemid: ' http://example.com/foo '}).itemId == 'http:
//example.com/foo'; is true | |
19 | |
20 itemId must strip leading whitespace. | |
21 Created element of type: div | |
22 Set attribute: itemid, value: http://example.com/foo | |
23 PASS createElement('div', {itemid: ' http://example.com/foo'}).itemId == 'http:
//example.com/foo'; is true | |
24 | |
25 itemId must strip trailing whitespace. | |
26 Created element of type: div | |
27 Set attribute: itemid, value: http://example.com/foo | |
28 PASS createElement('div', {itemid: 'http://example.com/foo '}).itemId == 'http:
//example.com/foo'; is true | |
29 | |
30 itemId must be read/write. | |
31 PASS element.itemId = 'http://example.com/bar'; element.itemId == 'http://exampl
e.com/bar' is true | |
32 PASS successfullyParsed is true | |
33 | |
34 TEST COMPLETE | |
35 | |
OLD | NEW |