OLD | NEW |
1 This tests parsing and re-serialization of some CSS selectors. | 1 This tests parsing and re-serialization of some CSS selectors. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS parseThenSerializeRule('* { }') is '* { }' | 6 PASS parseThenSerializeRule('* { }') is '* { }' |
7 PASS parseThenSerializeRule('a { }') is 'a { }' | 7 PASS parseThenSerializeRule('a { }') is 'a { }' |
8 PASS parseThenSerializeRule('#a { }') is '#a { }' | 8 PASS parseThenSerializeRule('#a { }') is '#a { }' |
9 PASS parseThenSerializeRule('.a { }') is '.a { }' | 9 PASS parseThenSerializeRule('.a { }') is '.a { }' |
10 PASS parseThenSerializeRule(':active { }') is ':active { }' | 10 PASS parseThenSerializeRule(':active { }') is ':active { }' |
(...skipping 19 matching lines...) Expand all Loading... |
30 PASS parseThenSerializeRule('a > b { }') is 'a > b { }' | 30 PASS parseThenSerializeRule('a > b { }') is 'a > b { }' |
31 | 31 |
32 PASS parseThenSerializeRule(':active { }') is ':active { }' | 32 PASS parseThenSerializeRule(':active { }') is ':active { }' |
33 PASS parseThenSerializeRule(':checked { }') is ':checked { }' | 33 PASS parseThenSerializeRule(':checked { }') is ':checked { }' |
34 PASS parseThenSerializeRule(':disabled { }') is ':disabled { }' | 34 PASS parseThenSerializeRule(':disabled { }') is ':disabled { }' |
35 PASS parseThenSerializeRule(':empty { }') is ':empty { }' | 35 PASS parseThenSerializeRule(':empty { }') is ':empty { }' |
36 PASS parseThenSerializeRule(':enabled { }') is ':enabled { }' | 36 PASS parseThenSerializeRule(':enabled { }') is ':enabled { }' |
37 PASS parseThenSerializeRule(':first-child { }') is ':first-child { }' | 37 PASS parseThenSerializeRule(':first-child { }') is ':first-child { }' |
38 PASS parseThenSerializeRule(':first-of-type { }') is ':first-of-type { }' | 38 PASS parseThenSerializeRule(':first-of-type { }') is ':first-of-type { }' |
39 PASS parseThenSerializeRule(':focus { }') is ':focus { }' | 39 PASS parseThenSerializeRule(':focus { }') is ':focus { }' |
| 40 PASS parseThenSerializeRule(':focus-within { }') is ':focus-within { }' |
40 PASS parseThenSerializeRule(':hover { }') is ':hover { }' | 41 PASS parseThenSerializeRule(':hover { }') is ':hover { }' |
41 PASS parseThenSerializeRule(':indeterminate { }') is ':indeterminate { }' | 42 PASS parseThenSerializeRule(':indeterminate { }') is ':indeterminate { }' |
42 PASS parseThenSerializeRule(':link { }') is ':link { }' | 43 PASS parseThenSerializeRule(':link { }') is ':link { }' |
43 PASS parseThenSerializeRule(':not(:placeholder-shown) { }') is ':not(:placeholde
r-shown) { }' | 44 PASS parseThenSerializeRule(':not(:placeholder-shown) { }') is ':not(:placeholde
r-shown) { }' |
44 PASS parseThenSerializeRule(':placeholder-shown { }') is ':placeholder-shown { }
' | 45 PASS parseThenSerializeRule(':placeholder-shown { }') is ':placeholder-shown { }
' |
45 PASS parseThenSerializeRule(':root { }') is ':root { }' | 46 PASS parseThenSerializeRule(':root { }') is ':root { }' |
46 PASS parseThenSerializeRule(':target { }') is ':target { }' | 47 PASS parseThenSerializeRule(':target { }') is ':target { }' |
47 PASS parseThenSerializeRule(':visited { }') is ':visited { }' | 48 PASS parseThenSerializeRule(':visited { }') is ':visited { }' |
48 | 49 |
49 PASS parseThenSerializeRule(':lang(a) { }') is ':lang(a) { }' | 50 PASS parseThenSerializeRule(':lang(a) { }') is ':lang(a) { }' |
(...skipping 26 matching lines...) Expand all Loading... |
76 PASS parseThenSerializeRule('#a::-webkit-slider-thumb { }') is '#a::-webkit-slid
er-thumb { }' | 77 PASS parseThenSerializeRule('#a::-webkit-slider-thumb { }') is '#a::-webkit-slid
er-thumb { }' |
77 PASS parseThenSerializeRule('#a ::-webkit-slider-thumb { }') is '#a ::-webkit-sl
ider-thumb { }' | 78 PASS parseThenSerializeRule('#a ::-webkit-slider-thumb { }') is '#a ::-webkit-sl
ider-thumb { }' |
78 PASS parseThenSerializeRule('* ::-webkit-slider-thumb { }') is '* ::-webkit-slid
er-thumb { }' | 79 PASS parseThenSerializeRule('* ::-webkit-slider-thumb { }') is '* ::-webkit-slid
er-thumb { }' |
79 | 80 |
80 PASS parseThenSerializeRule('a[b]::-webkit-slider-thumb { }') is 'a[b]::-webkit-
slider-thumb { }' | 81 PASS parseThenSerializeRule('a[b]::-webkit-slider-thumb { }') is 'a[b]::-webkit-
slider-thumb { }' |
81 PASS parseThenSerializeRule('a.b::-webkit-slider-thumb { }') is 'a.b::-webkit-sl
ider-thumb { }' | 82 PASS parseThenSerializeRule('a.b::-webkit-slider-thumb { }') is 'a.b::-webkit-sl
ider-thumb { }' |
82 PASS parseThenSerializeRule('a#b::-webkit-slider-thumb { }') is 'a#b::-webkit-sl
ider-thumb { }' | 83 PASS parseThenSerializeRule('a#b::-webkit-slider-thumb { }') is 'a#b::-webkit-sl
ider-thumb { }' |
83 PASS parseThenSerializeRule('a[b].c#d::-webkit-slider-thumb { }') is 'a[b].c#d::
-webkit-slider-thumb { }' | 84 PASS parseThenSerializeRule('a[b].c#d::-webkit-slider-thumb { }') is 'a[b].c#d::
-webkit-slider-thumb { }' |
84 | 85 |
85 PASS parseThenSerializeRule('input:not([type="file"]):focus { }') is 'input:not(
[type="file"]):focus { }' | 86 PASS parseThenSerializeRule('input:not([type="file"]):focus { }') is 'input:not(
[type="file"]):focus { }' |
| 87 PASS parseThenSerializeRule('input:not([type="file"]):focus-within { }') is 'inp
ut:not([type="file"]):focus-within { }' |
86 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any(
[type="file"]) { }' | 88 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any(
[type="file"]) { }' |
87 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover)
{ }' | 89 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover)
{ }' |
88 PASS parseThenSerializeRule('input:-webkit-any([type="file"],:hover,:focus):enab
led { }') is 'input:-webkit-any([type="file"],:hover,:focus):enabled { }' | 90 PASS parseThenSerializeRule('input:-webkit-any([type="file"],:hover,:focus):enab
led { }') is 'input:-webkit-any([type="file"],:hover,:focus):enabled { }' |
89 PASS parseThenSerializeRule(':-webkit-any(input[type="file"],a:hover,button:focu
s) { }') is ':-webkit-any(input[type="file"],a:hover,button:focus) { }' | 91 PASS parseThenSerializeRule(':-webkit-any(input[type="file"],a:hover,button:focu
s) { }') is ':-webkit-any(input[type="file"],a:hover,button:focus) { }' |
90 PASS parseThenSerializeRule(':-webkit-any(.class1.class2.class3) { }') is ':-web
kit-any(.class1.class2.class3) { }' | 92 PASS parseThenSerializeRule(':-webkit-any(.class1.class2.class3) { }') is ':-web
kit-any(.class1.class2.class3) { }' |
91 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any(
.class1:hover) { }' | 93 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any(
.class1:hover) { }' |
92 PASS parseThenSerializeRule(':-webkit-any(a.class1.class2.class3:hover) { }') is
':-webkit-any(a.class1.class2.class3:hover) { }' | 94 PASS parseThenSerializeRule(':-webkit-any(a.class1.class2.class3:hover) { }') is
':-webkit-any(a.class1.class2.class3:hover) { }' |
93 | 95 |
94 PASS parseThenSerializeRule('*:active { }') is ':active { }' | 96 PASS parseThenSerializeRule('*:active { }') is ':active { }' |
95 PASS parseThenSerializeRule('|a { }') is '|a { }' | 97 PASS parseThenSerializeRule('|a { }') is '|a { }' |
96 | 98 |
97 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"]
:focus { }' | 99 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"]
:focus { }' |
| 100 PASS parseThenSerializeRule('input[type=file]:focus-within { }') is 'input[type=
"file"]:focus-within { }' |
98 | 101 |
99 PASS parseThenSerializeRule('a+b { }') is 'a + b { }' | 102 PASS parseThenSerializeRule('a+b { }') is 'a + b { }' |
100 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }' | 103 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }' |
101 PASS parseThenSerializeRule('a>b { }') is 'a > b { }' | 104 PASS parseThenSerializeRule('a>b { }') is 'a > b { }' |
102 | 105 |
103 PASS parseThenSerializeRule(':after { }') is '::after { }' | 106 PASS parseThenSerializeRule(':after { }') is '::after { }' |
104 PASS parseThenSerializeRule(':before { }') is '::before { }' | 107 PASS parseThenSerializeRule(':before { }') is '::before { }' |
105 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' | 108 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' |
106 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' | 109 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' |
107 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) {
}') is ':-webkit-any(a.class1,#id,[attr]) { }' | 110 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) {
}') is ':-webkit-any(a.class1,#id,[attr]) { }' |
108 | 111 |
109 PASS successfullyParsed is true | 112 PASS successfullyParsed is true |
110 | 113 |
111 TEST COMPLETE | 114 TEST COMPLETE |
112 | 115 |
OLD | NEW |