Bug 1138993 - Prevent print preview of PDF files from generating one empty page for each page of the file, when switching to landscape mode. r=yury, a=lmandel
authorJonas Jenwald <jonas.jenwald@gmail.com>
Thu, 05 Mar 2015 15:50:47 +0100
changeset 250294 932b7f9d5457
parent 250293 253ab0dca77d
child 250295 c7c384d18548
push id4540
push userryanvm@gmail.com
push date2015-03-09 18:33 +0000
treeherdermozilla-beta@7ffee9383f87 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyury, lmandel
bugs1138993
milestone37.0
Bug 1138993 - Prevent print preview of PDF files from generating one empty page for each page of the file, when switching to landscape mode. r=yury, a=lmandel
browser/extensions/pdfjs/content/web/viewer.css
--- a/browser/extensions/pdfjs/content/web/viewer.css
+++ b/browser/extensions/pdfjs/content/web/viewer.css
@@ -1743,20 +1743,16 @@ html[dir='rtl'] #documentPropertiesOverl
     display: block;
   }
   #printContainer canvas {
     position: relative;
     top: 0;
     left: 0;
     display: block;
   }
-  #printContainer div {
-    page-break-after: always;
-    page-break-inside: avoid;
-  }
 }
 
 .visibleLargeView,
 .visibleMediumView,
 .visibleSmallView {
   display: none;
 }