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="../../resources/js-test.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 |
11 function log(message) { | 11 function log(message) { |
12 var console = document.getElementById("console"); | 12 var console = document.getElementById("console"); |
13 console.appendChild(document.createTextNode(message)); | 13 console.appendChild(document.createTextNode(message)); |
14 console.appendChild(document.createElement("BR")); | 14 console.appendChild(document.createElement("BR")); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 </html> | 246 </html> |
OLD | NEW |