Name Description Size
print.css The margin-block of the checkboxes/radiobuttons already provide the needed vertical spacing. 5410
print.html 18330
print.js 91235
printPageSetup.js 16084
printPageSetup.xhtml 11867
printPagination.css in-content/common.css variables 3234
printPreview.css 1734
printPreviewPagination.js 6125
printUtils.js PrintUtils is a utility for front-end code to trigger common print operations (printing, show print preview, show page settings). Unfortunately, likely due to inconsistencies in how different operating systems do printing natively, our XPCOM-level printing interfaces are a bit confusing and the method by which we do something basic like printing a page is quite circuitous. To compound that, we need to support remote browsers, and that means kicking off the print jobs in the content process. This means we send messages back and forth to that process via the Printing actor. This also means that <xul:browser>'s that hope to use PrintUtils must have their type attribute set to "content". Messages sent: Printing:Preview:Enter This message is sent to put content into print preview mode. We pass the content window of the browser we're showing the preview of, and the target of the message is the browser that we'll be showing the preview in. Printing:Preview:Exit This message is sent to take content out of print preview mode. 28591
simplifyMode.css This file defines specific rules for print preview when using simplify mode. Some of these rules (styling for title and author on the header element) already exist in aboutReader.css, however, we decoupled it from the original file so we don't need to load a bunch of extra queries that will not take effect when using the simplify page checkbox. 950
toggle-group.css A radiogroup styled to hide the radio buttons and present tab-like labels as buttons 2192