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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/printing/layout_tests/source_html/shapes/lines.html
diff --git a/chrome/test/data/printing/layout_tests/source_html/shapes/lines.html b/chrome/test/data/printing/layout_tests/source_html/shapes/lines.html
new file mode 100644
index 0000000000000000000000000000000000000000..3455be86bc60cf8dd997f739bfffbb5398e79c6e
--- /dev/null
+++ b/chrome/test/data/printing/layout_tests/source_html/shapes/lines.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <canvas id="canvas" width="500", height="500"> </canvas>
+ <script>
+ var canvas = document.getElementById("canvas");
+ var width = canvas.width;
+ var height = canvas.height;
+ var ctx = canvas.getContext("2d");
+ for (var i = 0; i < width; i += 10) {
+ ctx.moveTo(i, 0);
+ ctx.lineTo(i, height);
+ ctx.stroke();
+ }
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698