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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/paged-media-test-utils.js"></script>
3 <style>
4 body,html{margin:0};
5 div{background:red};
6 div{height:842pt;width:595pt};
7 @page{margin:0};
8 </style>
9 <div></div>
10 <script>
11
12 if (window.testRunner)
13 testRunner.dumpAsText();
14
15 function test()
16 {
17 numberOfPagesShouldBe(1);
18 }
19
20 runPrintingTest(test);
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698