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

Side by Side Diff: chrome/test/data/printing/layout_tests/source_html/shapes/lines.html

Issue 416433002: Add basic test cases for the end to end testing of print preview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced old image. Created 6 years, 4 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <canvas id="canvas" width="500", height="500"> </canvas>
5 <script>
6 var canvas = document.getElementById("canvas");
7 var width = canvas.width;
8 var height = canvas.height;
9 var ctx = canvas.getContext("2d");
10 for (var i = 0; i < width; i += 10) {
11 ctx.moveTo(i, 0);
12 ctx.lineTo(i, height);
13 ctx.stroke();
14 }
15 </script>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698