Bug 862679 - Remove background when printing. r=yury, a=akeybl
authorBrendan Dahl <bdahl@mozilla.com>
Mon, 06 May 2013 12:52:03 -0700
changeset 142655 9cf5567b33f90169b6ed1e923fe80cb61b3f0d6f
parent 142654 45d151897ffe8440cb913183cc431ff98a2a6b85
child 142656 c783c6426e5b401f6523b378d26358850af2444c
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyury, akeybl
bugs862679
milestone23.0a2
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
@@ -1375,16 +1375,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;