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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 PASS parseThenSerializeRule('input:not([type="file"]):focus { }') is 'input:not(
[type="file"]):focus { }' | 83 PASS parseThenSerializeRule('input:not([type="file"]):focus { }') is 'input:not(
[type="file"]):focus { }' |
84 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any(
[type="file"]) { }' | 84 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any(
[type="file"]) { }' |
85 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover)
{ }' | 85 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover)
{ }' |
86 PASS parseThenSerializeRule('input:-webkit-any([type="file"],:hover,:focus):enab
led { }') is 'input:-webkit-any([type="file"],:hover,:focus):enabled { }' | 86 PASS parseThenSerializeRule('input:-webkit-any([type="file"],:hover,:focus):enab
led { }') is 'input:-webkit-any([type="file"],:hover,:focus):enabled { }' |
87 PASS parseThenSerializeRule(':-webkit-any(input[type="file"],a:hover,button:focu
s) { }') is ':-webkit-any(input[type="file"],a:hover,button:focus) { }' | 87 PASS parseThenSerializeRule(':-webkit-any(input[type="file"],a:hover,button:focu
s) { }') is ':-webkit-any(input[type="file"],a:hover,button:focus) { }' |
88 PASS parseThenSerializeRule(':-webkit-any(.class1.class2.class3) { }') is ':-web
kit-any(.class1.class2.class3) { }' | 88 PASS parseThenSerializeRule(':-webkit-any(.class1.class2.class3) { }') is ':-web
kit-any(.class1.class2.class3) { }' |
89 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any(
.class1:hover) { }' | 89 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any(
.class1:hover) { }' |
90 PASS parseThenSerializeRule(':-webkit-any(a.class1.class2.class3:hover) { }') is
':-webkit-any(a.class1.class2.class3:hover) { }' | 90 PASS parseThenSerializeRule(':-webkit-any(a.class1.class2.class3:hover) { }') is
':-webkit-any(a.class1.class2.class3:hover) { }' |
91 | 91 |
92 PASS parseThenSerializeRule('*:active { }') is ':active { }' | 92 PASS parseThenSerializeRule('*:active { }') is ':active { }' |
93 PASS parseThenSerializeRule('|a { }') is 'a { }' | 93 PASS parseThenSerializeRule('|a { }') is '|a { }' |
94 | 94 |
95 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"]
:focus { }' | 95 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"]
:focus { }' |
96 | 96 |
97 PASS parseThenSerializeRule('a+b { }') is 'a + b { }' | 97 PASS parseThenSerializeRule('a+b { }') is 'a + b { }' |
98 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }' | 98 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }' |
99 PASS parseThenSerializeRule('a>b { }') is 'a > b { }' | 99 PASS parseThenSerializeRule('a>b { }') is 'a > b { }' |
100 | 100 |
101 PASS parseThenSerializeRule(':after { }') is '::after { }' | 101 PASS parseThenSerializeRule(':after { }') is '::after { }' |
102 PASS parseThenSerializeRule(':before { }') is '::before { }' | 102 PASS parseThenSerializeRule(':before { }') is '::before { }' |
103 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' | 103 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' |
104 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' | 104 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' |
105 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) {
}') is ':-webkit-any(a.class1,#id,[attr]) { }' | 105 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) {
}') is ':-webkit-any(a.class1,#id,[attr]) { }' |
106 | 106 |
107 PASS successfullyParsed is true | 107 PASS successfullyParsed is true |
108 | 108 |
109 TEST COMPLETE | 109 TEST COMPLETE |
110 | 110 |
OLD | NEW |