Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Side by Side Diff: LayoutTests/fast/css/test-setting-canvas-color.html

Issue 16183002: Unprefix CSS Variables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and updated prefix test Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 &lt;canvas&gt;."); 9 description("Test case for bug 39168. This tests the CSS color parsing code usin g &lt;canvas&gt;.");
10 10
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 shouldSuccessfullyParse("#0f0"); 234 shouldSuccessfullyParse("#0f0");
235 shouldSuccessfullyParse("hsl(120, 100%, 50%)"); // Green HSL 235 shouldSuccessfullyParse("hsl(120, 100%, 50%)"); // Green HSL
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('-webkit-var("test")'); 244 shouldNotSuccessfullyParse('var("test")');
245 </script> 245 </script>
246 <script src="../js/resources/js-test-post.js"></script> 246 <script src="../js/resources/js-test-post.js"></script>
247 </html> 247 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698