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

Side by Side Diff: third_party/WebKit/LayoutTests/csspaint/paint2d-paths-expected.html

Issue 1834843002: [WIP] Plumbing for paint Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: \o/\o/ Created 4 years, 8 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <canvas id ='output' width='200' height='400'></canvas> 4 <canvas id ='output' width='200' height='400'></canvas>
5 <script> 5 <script>
6 var aCanvas = document.getElementById('output'); 6 var aCanvas = document.getElementById('output');
7 var ctx = aCanvas.getContext('2d'); 7 var ctx = aCanvas.getContext('2d');
8 ctx.beginPath(); 8 ctx.beginPath();
9 ctx.lineWidth = '10'; 9 ctx.lineWidth = '10';
10 ctx.strokeStyle = 'green'; 10 ctx.strokeStyle = 'green';
(...skipping 12 matching lines...) Expand all
23 ctx.stroke(path1); 23 ctx.stroke(path1);
24 24
25 ctx.fillStyle = 'red'; 25 ctx.fillStyle = 'red';
26 ctx.beginPath() 26 ctx.beginPath()
27 ctx.arc(75, 325, 50, 0, Math.PI * 2, true); 27 ctx.arc(75, 325, 50, 0, Math.PI * 2, true);
28 ctx.arc(75, 325, 20, 0, Math.PI * 2, true); 28 ctx.arc(75, 325, 20, 0, Math.PI * 2, true);
29 ctx.fill("evenodd"); 29 ctx.fill("evenodd");
30 </script> 30 </script>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698