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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/csspaint/background-image-tiled-expected.html

Issue 2868003002: CSSPaint: Move layout tests in csspaint/ to http/tests/csspaint/ (Closed)
Patch Set: rebase Created 3 years, 7 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 ="one" width="100" height="100"></canvas> 4 <canvas id ="one" width="100" height="100"></canvas>
5 <canvas id ="two" width="100" height="100"></canvas> 5 <canvas id ="two" width="100" height="100"></canvas>
6 <script> 6 <script>
7 function drawCircle(ctx, geom) { 7 function drawCircle(ctx, geom) {
8 var x = geom.width / 2; 8 var x = geom.width / 2;
9 var y = geom.height / 2; 9 var y = geom.height / 2;
10 10
(...skipping 15 matching lines...) Expand all
26 for (var i = 0; i < 5; i++) { 26 for (var i = 0; i < 5; i++) {
27 drawCircle(ctx2, {width: 50, height: 20}); 27 drawCircle(ctx2, {width: 50, height: 20});
28 ctx2.translate(0, 20); 28 ctx2.translate(0, 20);
29 } 29 }
30 ctx2.resetTransform(); 30 ctx2.resetTransform();
31 ctx2.translate(50, 25); 31 ctx2.translate(50, 25);
32 drawCircle(ctx2, {width: 50, height: 50}); 32 drawCircle(ctx2, {width: 50, height: 50});
33 </script> 33 </script>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698