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

Unified Diff: third_party/WebKit/LayoutTests/printing/iso-page-in-points.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
Index: third_party/WebKit/LayoutTests/printing/iso-page-in-points.html
diff --git a/third_party/WebKit/LayoutTests/printing/iso-page-in-points.html b/third_party/WebKit/LayoutTests/printing/iso-page-in-points.html
new file mode 100644
index 0000000000000000000000000000000000000000..bf8bbc90b6d3106d5cf82d7fdbe67d805b11fa95
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/iso-page-in-points.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:842pt;width:595pt};
+ @page{margin:0};
+</style>
+<div></div>
+<script>
+
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function test()
+ {
+ numberOfPagesShouldBe(1);
+ }
+
+ runPrintingTest(test);
+</script>

Powered by Google App Engine
This is Rietveld 408576698