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

Unified Diff: third_party/WebKit/LayoutTests/printing/resources/paged-media-test-utils.js

Issue 1848443003: Revert of Print with the correct physical dimensions when specified (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@262769
Patch Set: Created 4 years, 9 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/resources/paged-media-test-utils.js
diff --git a/third_party/WebKit/LayoutTests/printing/resources/paged-media-test-utils.js b/third_party/WebKit/LayoutTests/printing/resources/paged-media-test-utils.js
index 73745af7630640020e84841c46907ec6a1dc28f2..a2d5deb1f6d1483fd7b45e984b68695e5906c74a 100644
--- a/third_party/WebKit/LayoutTests/printing/resources/paged-media-test-utils.js
+++ b/third_party/WebKit/LayoutTests/printing/resources/paged-media-test-utils.js
@@ -62,7 +62,7 @@ function runPrintingTest(testFunction)
function ratioToPageHeightToPixels(heightInRatioToPageHeight)
{
- var pageHeightInPixels = 600 * 1.333;
+ var pageHeightInPixels = 600 * 1.25;
return Math.floor(pageHeightInPixels * heightInRatioToPageHeight);
}

Powered by Google App Engine
This is Rietveld 408576698