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

Side by Side Diff: LayoutTests/fast/canvas/canvas-bezier-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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // bezier curve with coincident endpoints 47 // bezier curve with coincident endpoints
48 ctx.bezierCurveTo(200,0,0,200,0,0); 48 ctx.bezierCurveTo(200,0,0,200,0,0);
49 ctx.stroke(); 49 ctx.stroke();
50 shouldBeYellow(75,75); 50 shouldBeYellow(75,75);
51 51
52 52
53 </script> 53 </script>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-arc-zero-lineto.html ('k') | LayoutTests/fast/canvas/canvas-blend-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698