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

Unified Diff: chrome/test/data/printing/layout_tests/source_html/colors/color-gradient.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
« no previous file with comments | « no previous file | chrome/test/data/printing/layout_tests/source_html/forms/radio.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/printing/layout_tests/source_html/colors/color-gradient.html
diff --git a/chrome/test/data/printing/layout_tests/source_html/colors/color-gradient.html b/chrome/test/data/printing/layout_tests/source_html/colors/color-gradient.html
new file mode 100644
index 0000000000000000000000000000000000000000..e563be79b85594cfc7c5653daf3e45d5c7b3008a
--- /dev/null
+++ b/chrome/test/data/printing/layout_tests/source_html/colors/color-gradient.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <canvas id="myCanvas" width="300" height="300"></canvas>
+ <script>
+ var canvas = document.getElementById("myCanvas");
+ var context = canvas.getContext("2d");
+
+ var gradient = context.createLinearGradient(0, 0, 300, 300);
+ gradient.addColorStop(0, "red");
+ gradient.addColorStop(1, "green");
+
+ context.fillStyle = gradient;
+ context.fillRect(0, 0, 300, 300);
+ </script>
+</body>
+
+</html>
« no previous file with comments | « no previous file | chrome/test/data/printing/layout_tests/source_html/forms/radio.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698