Bug 862679 - Remove background when printing. r=yury, a=akeybl
authorBrendan Dahl <bdahl@mozilla.com>
Mon, 06 May 2013 12:52:03 -0700
changeset 137623 d23d8ff15c34a097272f5a6b7d63eb1a652eeaca
parent 137622 e16d93efed190a2efeb5bf116ae9396d3bba7727
child 137624 df1e13ac3e62cfadd4ffc1c36f02f62ec5f27bc2
push idunknown
push userunknown
push dateunknown
reviewersyury, akeybl
bugs862679
milestone22.0
Bug 862679 - Remove background when printing. r=yury, a=akeybl
browser/extensions/pdfjs/content/web/viewer.css
--- a/browser/extensions/pdfjs/content/web/viewer.css
+++ b/browser/extensions/pdfjs/content/web/viewer.css
@@ -1353,16 +1353,21 @@ canvas {
   margin: 0;
 }
 
 #printContainer {
   display: none;
 }
 
 @media print {
+  /* General rules for printing. */
+  body {
+    background: transparent none;
+  }
+
   /* Rules for browsers that don't support mozPrintCallback. */
   #sidebarContainer, .toolbar, #loadingBox, #errorWrapper, .textLayer {
     display: none;
   }
 
   #mainContainer, #viewerContainer, .page, .page canvas {
     position: static;
     padding: 0;