| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <canvas id="canvas"> | 7 <canvas id="canvas"> |
| 8 <script> | 8 <script> |
| 9 description("Test case for bug 39168. This tests the CSS color parsing code usin
g <canvas>."); | 9 description("Test case for bug 39168. This tests the CSS color parsing code usin
g <canvas>."); |
| 10 | 10 |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 236 |
| 237 // Invalid values. | 237 // Invalid values. |
| 238 shouldNotSuccessfullyParse("foobar"); | 238 shouldNotSuccessfullyParse("foobar"); |
| 239 shouldNotSuccessfullyParse("counter(foobar)"); | 239 shouldNotSuccessfullyParse("counter(foobar)"); |
| 240 shouldNotSuccessfullyParse("url(http://127.0.0.1:8080/)"); | 240 shouldNotSuccessfullyParse("url(http://127.0.0.1:8080/)"); |
| 241 shouldNotSuccessfullyParse("inherited"); | 241 shouldNotSuccessfullyParse("inherited"); |
| 242 shouldNotSuccessfullyParse("#100%"); | 242 shouldNotSuccessfullyParse("#100%"); |
| 243 shouldNotSuccessfullyParse("#100px"); | 243 shouldNotSuccessfullyParse("#100px"); |
| 244 shouldNotSuccessfullyParse('var("test")'); | 244 shouldNotSuccessfullyParse('var("test")'); |
| 245 </script> | 245 </script> |
| 246 <script src="../js/resources/js-test-post.js"></script> | |
| 247 </html> | 246 </html> |
| OLD | NEW |