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

Unified Diff: third_party/WebKit/LayoutTests/printing/iso-page-in-inches.html

Issue 2116283002: Don't let rounding prematurely influence document size when printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@620456-2
Patch Set: bug 467579 Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/units_unittest.cc ('k') | third_party/WebKit/LayoutTests/printing/iso-page-in-inches-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/printing/iso-page-in-inches.html
diff --git a/third_party/WebKit/LayoutTests/printing/iso-page-in-inches.html b/third_party/WebKit/LayoutTests/printing/iso-page-in-inches.html
new file mode 100644
index 0000000000000000000000000000000000000000..3699b06e0a0117aab38d452e8ee0464377c5520d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/iso-page-in-inches.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src="resources/paged-media-test-utils.js"></script>
+<style>
+ body,html{margin:0};
+ div{background:red};
+ div{height:11.69in;width:8.27in};
+ @page{margin:0};
+</style>
+<div></div>
+<script>
+
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function test()
+ {
+ numberOfPagesShouldBe(1);
+ }
+
+ runPrintingTest(test);
+</script>
« no previous file with comments | « printing/units_unittest.cc ('k') | third_party/WebKit/LayoutTests/printing/iso-page-in-inches-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698