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 22 matching lines...) Expand all Loading... |
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(':hover { }') is ':hover { }' | 40 PASS parseThenSerializeRule(':hover { }') is ':hover { }' |
41 PASS parseThenSerializeRule(':indeterminate { }') is ':indeterminate { }' | 41 PASS parseThenSerializeRule(':indeterminate { }') is ':indeterminate { }' |
42 PASS parseThenSerializeRule(':link { }') is ':link { }' | 42 PASS parseThenSerializeRule(':link { }') is ':link { }' |
| 43 PASS parseThenSerializeRule(':not(:placeholder-shown) { }') is ':not(:placeholde
r-shown) { }' |
| 44 PASS parseThenSerializeRule(':placeholder-shown { }') is ':placeholder-shown { }
' |
43 PASS parseThenSerializeRule(':root { }') is ':root { }' | 45 PASS parseThenSerializeRule(':root { }') is ':root { }' |
44 PASS parseThenSerializeRule(':target { }') is ':target { }' | 46 PASS parseThenSerializeRule(':target { }') is ':target { }' |
45 PASS parseThenSerializeRule(':visited { }') is ':visited { }' | 47 PASS parseThenSerializeRule(':visited { }') is ':visited { }' |
46 | 48 |
47 PASS parseThenSerializeRule(':lang(a) { }') is ':lang(a) { }' | 49 PASS parseThenSerializeRule(':lang(a) { }') is ':lang(a) { }' |
48 PASS parseThenSerializeRule(':not(a) { }') is ':not(a) { }' | 50 PASS parseThenSerializeRule(':not(a) { }') is ':not(a) { }' |
49 PASS parseThenSerializeRule(':-webkit-any(a,b,p) { }') is ':-webkit-any(a,b,p) {
}' | 51 PASS parseThenSerializeRule(':-webkit-any(a,b,p) { }') is ':-webkit-any(a,b,p) {
}' |
50 | 52 |
51 PASS parseThenSerializeRule('::after { }') is '::after { }' | 53 PASS parseThenSerializeRule('::after { }') is '::after { }' |
52 PASS parseThenSerializeRule('::before { }') is '::before { }' | 54 PASS parseThenSerializeRule('::before { }') is '::before { }' |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 PASS parseThenSerializeRule(':after { }') is '::after { }' | 103 PASS parseThenSerializeRule(':after { }') is '::after { }' |
102 PASS parseThenSerializeRule(':before { }') is '::before { }' | 104 PASS parseThenSerializeRule(':before { }') is '::before { }' |
103 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' | 105 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' |
104 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' | 106 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' |
105 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) {
}') is ':-webkit-any(a.class1,#id,[attr]) { }' | 107 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) {
}') is ':-webkit-any(a.class1,#id,[attr]) { }' |
106 | 108 |
107 PASS successfullyParsed is true | 109 PASS successfullyParsed is true |
108 | 110 |
109 TEST COMPLETE | 111 TEST COMPLETE |
110 | 112 |
OLD | NEW |