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

Unified Diff: third_party/WebKit/LayoutTests/printing/standards-percentage-heights-expected.html

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/standards-percentage-heights-expected.html
diff --git a/third_party/WebKit/LayoutTests/printing/standards-percentage-heights.html b/third_party/WebKit/LayoutTests/printing/standards-percentage-heights-expected.html
similarity index 62%
copy from third_party/WebKit/LayoutTests/printing/standards-percentage-heights.html
copy to third_party/WebKit/LayoutTests/printing/standards-percentage-heights-expected.html
index 09bea6fc4d447a61fc47957b28e0815897a2c61a..fc947420c4565d03798a1849d417cd0b7883ea7f 100644
--- a/third_party/WebKit/LayoutTests/printing/standards-percentage-heights.html
+++ b/third_party/WebKit/LayoutTests/printing/standards-percentage-heights-expected.html
@@ -1,7 +1,4 @@
<!DOCTYPE html>
-<html style="overflow: hidden; height: 500px; width: 500px; border: 5px solid pink">
-<script>
-if (window.testRunner)
- testRunner.setPrinting();
-</script>
+<!-- We page zoom scale down the page by 1.25 when printing. -->
+<html style="overflow: hidden; height: 500px; width: 500px; border: 5px solid pink; zoom: 80%;">
<body style="margin: 0; height: 50%; width: 50%; border: 5px solid salmon;"></body>

Powered by Google App Engine
This is Rietveld 408576698