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 249167 932b7f9d5457217b57a8220aa7812b78a233fb39
parent 249166 253ab0dca77dfaffb965bc9877ece20748cf0456
child 249168 c7c384d18548c231191e37243de7e8217b910e5d
push id970
push userjryans@gmail.com
push dateTue, 10 Mar 2015 15:54:18 +0000
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;
 }