tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / css / css-selector-text-expected.txt
1 This tests parsing and re-serialization of some CSS selectors.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS parseThenSerializeRule('* { }') is '* { }'
7 PASS parseThenSerializeRule('a { }') is 'a { }'
8 PASS parseThenSerializeRule('#a { }') is '#a { }'
9 PASS parseThenSerializeRule('.a { }') is '.a { }'
10 PASS parseThenSerializeRule(':active { }') is ':active { }'
11 PASS parseThenSerializeRule('[a] { }') is '[a] { }'
12 PASS parseThenSerializeRule('[a="b"] { }') is '[a="b"] { }'
13 PASS parseThenSerializeRule('[a~="b"] { }') is '[a~="b"] { }'
14 PASS parseThenSerializeRule('[a|="b"] { }') is '[a|="b"] { }'
15 PASS parseThenSerializeRule('[a^="b"] { }') is '[a^="b"] { }'
16 PASS parseThenSerializeRule('[a$="b"] { }') is '[a$="b"] { }'
17 PASS parseThenSerializeRule('[a*="b"] { }') is '[a*="b"] { }'
18
19 PASS parseThenSerializeRule('*|a { }') is '*|a { }'
20 PASS parseThenSerializeRule('n|a { }') is 'n|a { }'
21 PASS parseThenSerializeRule('*|* { }') is '*|* { }'
22 PASS parseThenSerializeRule('n|* { }') is 'n|* { }'
23 PASS parseThenSerializeRule('[*|a] { }') is '[*|a] { }'
24 PASS parseThenSerializeRule('[n|a] { }') is '[n|a] { }'
25
26 PASS parseThenSerializeRule('a:active { }') is 'a:active { }'
27 PASS parseThenSerializeRule('a b { }') is 'a b { }'
28 PASS parseThenSerializeRule('a + b { }') is 'a + b { }'
29 PASS parseThenSerializeRule('a ~ b { }') is 'a ~ b { }'
30 PASS parseThenSerializeRule('a > b { }') is 'a > b { }'
31
32 PASS parseThenSerializeRule(':active { }') is ':active { }'
33 PASS parseThenSerializeRule(':checked { }') is ':checked { }'
34 PASS parseThenSerializeRule(':disabled { }') is ':disabled { }'
35 PASS parseThenSerializeRule(':empty { }') is ':empty { }'
36 PASS parseThenSerializeRule(':enabled { }') is ':enabled { }'
37 PASS parseThenSerializeRule(':first-child { }') is ':first-child { }'
38 PASS parseThenSerializeRule(':first-of-type { }') is ':first-of-type { }'
39 PASS parseThenSerializeRule(':focus { }') is ':focus { }'
40 PASS parseThenSerializeRule(':hover { }') is ':hover { }'
41 PASS parseThenSerializeRule(':indeterminate { }') is ':indeterminate { }'
42 PASS parseThenSerializeRule(':link { }') is ':link { }'
43 PASS parseThenSerializeRule(':root { }') is ':root { }'
44 PASS parseThenSerializeRule(':target { }') is ':target { }'
45 PASS parseThenSerializeRule(':visited { }') is ':visited { }'
46
47 PASS parseThenSerializeRule(':lang(a) { }') is ':lang(a) { }'
48 PASS parseThenSerializeRule(':not(a) { }') is ':not(a) { }'
49 PASS parseThenSerializeRule(':-webkit-any(a,b,p) { }') is ':-webkit-any(a,b,p) { }'
50
51 PASS parseThenSerializeRule('::after { }') is '::after { }'
52 PASS parseThenSerializeRule('::before { }') is '::before { }'
53 PASS parseThenSerializeRule('::first-letter { }') is '::first-letter { }'
54 PASS parseThenSerializeRule('::first-line { }') is '::first-line { }'
55 PASS parseThenSerializeRule('::selection { }') is '::selection { }'
56
57 PASS parseThenSerializeRule(':-webkit-any-link { }') is ':-webkit-any-link { }'
58 PASS parseThenSerializeRule(':-webkit-autofill { }') is ':-webkit-autofill { }'
59 PASS parseThenSerializeRule(':-webkit-drag { }') is ':-webkit-drag { }'
60
61 PASS parseThenSerializeRule('::-webkit-file-upload-button { }') is '::-webkit-file-upload-button { }'
62 PASS parseThenSerializeRule('::-webkit-search-cancel-button { }') is '::-webkit-search-cancel-button { }'
63 PASS parseThenSerializeRule('::-webkit-search-decoration { }') is '::-webkit-search-decoration { }'
64 PASS parseThenSerializeRule('::-webkit-search-results-button { }') is '::-webkit-search-results-button { }'
65 PASS parseThenSerializeRule('::-webkit-search-results-decoration { }') is '::-webkit-search-results-decoration { }'
66 PASS parseThenSerializeRule('::-webkit-slider-thumb { }') is '::-webkit-slider-thumb { }'
67
68 PASS parseThenSerializeRule('input:not([type="file"]):focus { }') is 'input:not([type="file"]):focus { }'
69 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any([type="file"]) { }'
70 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover) { }'
71 PASS parseThenSerializeRule('input:-webkit-any([type="file"],:hover,:focus):enabled { }') is 'input:-webkit-any([type="file"],:hover,:focus):enabled { }'
72 PASS parseThenSerializeRule(':-webkit-any(input[type="file"],a:hover,button:focus) { }') is ':-webkit-any(input[type="file"],a:hover,button:focus) { }'
73 PASS parseThenSerializeRule(':-webkit-any(.class1.class2.class3) { }') is ':-webkit-any(.class1.class2.class3) { }'
74 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any(.class1:hover) { }'
75 PASS parseThenSerializeRule(':-webkit-any(a.class1.class2.class3:hover) { }') is ':-webkit-any(a.class1.class2.class3:hover) { }'
76
77 PASS parseThenSerializeRule('*:active { }') is ':active { }'
78 PASS parseThenSerializeRule('|a { }') is 'a { }'
79
80 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"]:focus { }'
81
82 PASS parseThenSerializeRule('a+b { }') is 'a + b { }'
83 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }'
84 PASS parseThenSerializeRule('a>b { }') is 'a > b { }'
85
86 PASS parseThenSerializeRule(':after { }') is '::after { }'
87 PASS parseThenSerializeRule(':before { }') is '::before { }'
88 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }'
89 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }'
90 PASS parseThenSerializeRule(':-webkit-any(    a.class1  ,       #id,[attr]  ) { }') is ':-webkit-any(a.class1,#id,[attr]) { }'
91
92 PASS successfullyParsed is true
93
94 TEST COMPLETE
95