OLD | NEW |
1 This tests setting and re-serialization of some CSS selectors. | 1 This tests setting 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 setThenReadSelectorText('') is '_foo' | 6 PASS setThenReadSelectorText('') is '_foo' |
7 PASS setThenReadSelectorText('123') is '_foo' | 7 PASS setThenReadSelectorText('123') is '_foo' |
8 PASS setThenReadSelectorText('-') is '_foo' | 8 PASS setThenReadSelectorText('-') is '_foo' |
9 PASS setThenReadSelectorText('$') is '_foo' | 9 PASS setThenReadSelectorText('$') is '_foo' |
10 PASS setThenReadSelectorText(':') is '_foo' | 10 PASS setThenReadSelectorText(':') is '_foo' |
11 PASS setThenReadSelectorText('.') is '_foo' | 11 PASS setThenReadSelectorText('.') is '_foo' |
12 PASS setThenReadSelectorText('#') is '_foo' | 12 PASS setThenReadSelectorText('#') is '_foo' |
13 PASS setThenReadSelectorText('[]') is '_foo' | 13 PASS setThenReadSelectorText('[]') is '_foo' |
14 PASS setThenReadSelectorText('()') is '_foo' | 14 PASS setThenReadSelectorText('()') is '_foo' |
15 | 15 |
16 PASS setThenReadSelectorText('*') is '*' | 16 PASS setThenReadSelectorText('*') is '*' |
17 PASS setThenReadSelectorText('a') is 'a' | 17 PASS setThenReadSelectorText('a') is 'a' |
18 PASS setThenReadSelectorText('#a') is '#a' | 18 PASS setThenReadSelectorText('#a') is '#a' |
19 PASS setThenReadSelectorText('.a') is '.a' | 19 PASS setThenReadSelectorText('.a') is '.a' |
20 PASS setThenReadSelectorText(':active') is ':active' | 20 PASS setThenReadSelectorText(':active') is ':active' |
21 PASS setThenReadSelectorText('[a]') is '[a]' | 21 PASS setThenReadSelectorText('[a]') is '[a]' |
22 PASS setThenReadSelectorText('[a="b"]') is '[a="b"]' | 22 PASS setThenReadSelectorText('[a="b"]') is '[a="b"]' |
23 PASS setThenReadSelectorText('[a~="b"]') is '[a~="b"]' | 23 PASS setThenReadSelectorText('[a~="b"]') is '[a~="b"]' |
24 PASS setThenReadSelectorText('[a|="b"]') is '[a|="b"]' | 24 PASS setThenReadSelectorText('[a|="b"]') is '[a|="b"]' |
25 PASS setThenReadSelectorText('[a^="b"]') is '[a^="b"]' | 25 PASS setThenReadSelectorText('[a^="b"]') is '[a^="b"]' |
26 PASS setThenReadSelectorText('[a$="b"]') is '[a$="b"]' | 26 PASS setThenReadSelectorText('[a$="b"]') is '[a$="b"]' |
27 PASS setThenReadSelectorText('[a*="b"]') is '[a*="b"]' | 27 PASS setThenReadSelectorText('[a*="b"]') is '[a*="b"]' |
28 | 28 |
29 PASS setThenReadSelectorText('*|a') is '*|a' | 29 PASS setThenReadSelectorText('*|a') is 'a' |
30 PASS setThenReadSelectorText('n|a') is 'n|a' | 30 PASS setThenReadSelectorText('n|a') is 'n|a' |
31 PASS setThenReadSelectorText('*|*') is '*|*' | 31 PASS setThenReadSelectorText('*|*') is '*' |
32 PASS setThenReadSelectorText('n|*') is 'n|*' | 32 PASS setThenReadSelectorText('n|*') is 'n|*' |
33 PASS setThenReadSelectorText('[*|a]') is '[*|a]' | 33 PASS setThenReadSelectorText('[*|a]') is '[*|a]' |
34 PASS setThenReadSelectorText('[n|a]') is '[n|a]' | 34 PASS setThenReadSelectorText('[n|a]') is '[n|a]' |
35 PASS setThenReadSelectorText('unresolved|a') is '_foo' | 35 PASS setThenReadSelectorText('unresolved|a') is '_foo' |
36 PASS setThenReadSelectorText('unresolved|*') is '_foo' | 36 PASS setThenReadSelectorText('unresolved|*') is '_foo' |
37 PASS setThenReadSelectorText('[unresolved|a]') is '_foo' | 37 PASS setThenReadSelectorText('[unresolved|a]') is '_foo' |
38 | 38 |
39 PASS setThenReadSelectorText('a:active') is 'a:active' | 39 PASS setThenReadSelectorText('a:active') is 'a:active' |
40 PASS setThenReadSelectorText('a b') is 'a b' | 40 PASS setThenReadSelectorText('a b') is 'a b' |
41 PASS setThenReadSelectorText('a + b') is 'a + b' | 41 PASS setThenReadSelectorText('a + b') is 'a + b' |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 PASS setThenReadSelectorText(':after') is '::after' | 116 PASS setThenReadSelectorText(':after') is '::after' |
117 PASS setThenReadSelectorText(':before') is '::before' | 117 PASS setThenReadSelectorText(':before') is '::before' |
118 PASS setThenReadSelectorText(':first-letter') is '::first-letter' | 118 PASS setThenReadSelectorText(':first-letter') is '::first-letter' |
119 PASS setThenReadSelectorText(':first-line') is '::first-line' | 119 PASS setThenReadSelectorText(':first-line') is '::first-line' |
120 PASS setThenReadSelectorText(':-webkit-any( a.class1 , #id,[attr] )')
is ':-webkit-any(a.class1,#id,[attr])' | 120 PASS setThenReadSelectorText(':-webkit-any( a.class1 , #id,[attr] )')
is ':-webkit-any(a.class1,#id,[attr])' |
121 | 121 |
122 PASS successfullyParsed is true | 122 PASS successfullyParsed is true |
123 | 123 |
124 TEST COMPLETE | 124 TEST COMPLETE |
125 | 125 |
OLD | NEW |