| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head id="head"> | 2 <head id="head"> |
| 3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 description("This tests setting and re-serialization of some CSS selectors."); | 8 description("This tests setting and re-serialization of some CSS selectors."); |
| 9 | 9 |
| 10 var bogusSelector = "_foo"; | 10 var bogusSelector = "_foo"; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 testSelectorRoundTrip(":checked"); | 81 testSelectorRoundTrip(":checked"); |
| 82 testSelectorRoundTrip(":disabled"); | 82 testSelectorRoundTrip(":disabled"); |
| 83 testSelectorRoundTrip(":empty"); | 83 testSelectorRoundTrip(":empty"); |
| 84 testSelectorRoundTrip(":enabled"); | 84 testSelectorRoundTrip(":enabled"); |
| 85 testSelectorRoundTrip(":first-child"); | 85 testSelectorRoundTrip(":first-child"); |
| 86 testSelectorRoundTrip(":first-of-type"); | 86 testSelectorRoundTrip(":first-of-type"); |
| 87 testSelectorRoundTrip(":focus"); | 87 testSelectorRoundTrip(":focus"); |
| 88 testSelectorRoundTrip(":hover"); | 88 testSelectorRoundTrip(":hover"); |
| 89 testSelectorRoundTrip(":indeterminate"); | 89 testSelectorRoundTrip(":indeterminate"); |
| 90 testSelectorRoundTrip(":link"); | 90 testSelectorRoundTrip(":link"); |
| 91 testSelectorRoundTrip(":not(:placeholder-shown)"); |
| 92 testSelectorRoundTrip(":placeholder-shown"); |
| 91 testSelectorRoundTrip(":root"); | 93 testSelectorRoundTrip(":root"); |
| 92 testSelectorRoundTrip(":target"); | 94 testSelectorRoundTrip(":target"); |
| 93 testSelectorRoundTrip(":visited"); | 95 testSelectorRoundTrip(":visited"); |
| 94 | 96 |
| 95 debug(''); | 97 debug(''); |
| 96 | 98 |
| 97 testSelectorRoundTrip(":lang(a)"); | 99 testSelectorRoundTrip(":lang(a)"); |
| 98 testSelectorRoundTrip(":not(a)"); | 100 testSelectorRoundTrip(":not(a)"); |
| 99 testSelectorRoundTrip(":-webkit-any(a,b,p)"); | 101 testSelectorRoundTrip(":-webkit-any(a,b,p)"); |
| 100 | 102 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 shouldBe("setThenReadSelectorText(':before')", "'::before'"); | 174 shouldBe("setThenReadSelectorText(':before')", "'::before'"); |
| 173 shouldBe("setThenReadSelectorText(':first-letter')", "'::first-letter'"); | 175 shouldBe("setThenReadSelectorText(':first-letter')", "'::first-letter'"); |
| 174 shouldBe("setThenReadSelectorText(':first-line')", "'::first-line'"); | 176 shouldBe("setThenReadSelectorText(':first-line')", "'::first-line'"); |
| 175 shouldBe("setThenReadSelectorText(':-webkit-any( a.class1 , #id,[att
r] )')","':-webkit-any(a.class1,#id,[attr])'"); | 177 shouldBe("setThenReadSelectorText(':-webkit-any( a.class1 , #id,[att
r] )')","':-webkit-any(a.class1,#id,[attr])'"); |
| 176 | 178 |
| 177 debug(''); | 179 debug(''); |
| 178 | 180 |
| 179 </script> | 181 </script> |
| 180 </body> | 182 </body> |
| 181 </html> | 183 </html> |
| OLD | NEW |