tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / dom / MicroData / itemref-for-an-element-must-be-correct-expected.txt
1 This test that the itemRef should be correct for an element that has itemRef attribute.
2
3 Created element of type: div
4 Set attribute: itemref, value: foo bar FOO FOo
5 PASS element.itemRef.length == 4 is true
6 PASS element.itemRef.toString() == 'foo bar FOO FOo' is true
7 PASS element.itemRef.item(0) == 'foo' is true
8 PASS element.itemRef.item(1) == 'bar' is true
9 PASS element.itemRef[0] == 'foo' is true
10 PASS element.itemRef[1] == 'bar' is true
11 PASS element.itemRef.contains('bar') is true
12 PASS element.itemRef.contains('foo') is true
13
14 itemRef should return case-sensitive strings.
15 PASS element.itemRef.item(2) == 'FOO' is true
16 PASS element.itemRef[2] == 'FOO' is true
17 PASS element.itemRef.item(3) == 'FOo' is true
18 PASS element.itemRef[3] == 'FOo' is true
19
20 itemRef should not contain an undefined token.
21 PASS element.itemRef.contains('test') is false
22
23 itemRef.length should be 0 if element has not tokens.
24 Created element of type: div
25 Set attribute: itemRef, value: 
26 PASS element1.itemRef.length == 0 is true
27 PASS successfullyParsed is true
28
29 TEST COMPLETE
30