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

Side by Side Diff: LayoutTests/fast/canvas/canvas-quadratic-same-endpoint.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
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" width="100" height="100"></canvas> 7 <canvas id="canvas" width="100" height="100"></canvas>
8 <script> 8 <script>
9 description("Bug 105650: Test correct rendering of quadratic and bezier curves w ith coincident endpoints"); 9 description("Bug 105650: Test correct rendering of quadratic and bezier curves w ith coincident endpoints");
10 var ctx = document.getElementById('canvas').getContext('2d'); 10 var ctx = document.getElementById('canvas').getContext('2d');
11 var data; 11 var data;
12 12
13 function shouldBeYellow(x,y) 13 function shouldBeYellow(x,y)
14 { 14 {
(...skipping 20 matching lines...) Expand all
35 //Next line should be close to ctx.bezierCurveTo(81,80,80,80,20,20); 35 //Next line should be close to ctx.bezierCurveTo(81,80,80,80,20,20);
36 ctx.quadraticCurveTo(110,110,20,20); 36 ctx.quadraticCurveTo(110,110,20,20);
37 37
38 shouldBeBlue(70,70); 38 shouldBeBlue(70,70);
39 ctx.stroke(); 39 ctx.stroke();
40 shouldBeYellow(70,70); 40 shouldBeYellow(70,70);
41 41
42 </script> 42 </script>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698