tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / fast / dom / MicroData / itemprop-add-remove-tokens-expected.txt
1 This tests that itemProp attribute must update correctly when token have been added or removed.
2
3 Created element of type: div
4 itemProp.add must reflect correctly.
5 PASS element.itemProp.length == 2 is true
6 PASS element.itemProp.toString() == 'foo FOO' is true
7 PASS element.itemProp[0] is 'foo'
8 PASS element.itemProp[1] is 'FOO'
9
10 itemProp.add must not make any changes if an existing token is added.
11 PASS element.itemProp.length == 2 is true
12 PASS element.itemProp.toString() == 'foo FOO' is true
13
14 itemProp.remove must reflect correctly.
15 PASS element.itemProp.length == 1 is true
16 PASS element.itemProp.contains('foo') is false
17 PASS element.itemProp.toString() == 'FOO' is true
18
19 itemProp.remove must not make any changes if a non-existing token is removed.
20 PASS element.itemProp.length == 1 is true
21 PASS element.itemProp.contains('foo') is false
22 PASS element.itemProp.toString() == 'FOO' is true
23
24 itemProp.length must be 0 when all tokens are removed.
25 PASS element.itemProp.length == 0 is true
26 PASS element.itemProp.contains('foo') is false
27 PASS element.itemProp.contains('FOO') is false
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31