Closed
Bug 1486302
Opened 6 years ago
Closed 6 years ago
Print preview/Print only one page of BMO
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1622935
People
(Reporter: alice0775, Unassigned)
References
()
Details
Reproducible: always Steps To Reproduce: 1. Open https://bugzilla.mozilla.org/buglist.cgi?product=Firefox&component=General&resolution=--- 2. File > Print Preview or File > Print Actual Results: Print Preview/Print only one page Expected Results: Print Preview/Print full page
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Comment 2•6 years ago
|
||
This is an annoying problem, isn't it? When you encounter a page that doesn't paginate correctly, you could try disabling non-standard rendering of larger block elements using something like the following in the Web Console: var blocks = document.querySelectorAll('div,section,article'); for (var i=0; i<blocks.length; i++) { if (window.getComputedStyle(blocks[i],null).getPropertyValue("display") != "block"){ if (parseInt(window.getComputedStyle(blocks[i],null).getPropertyValue("height")) > 250) blocks[i].style.display="block"; } } See: https://developer.mozilla.org/docs/Tools/Web_Console Depending on the page layout, this may jumble some of the content. In cases where that is a serious problem, you'll need to reload the page and use a different workaround, such as a screenshot tool or a PDF converter that doesn't emulate printing.
Comment 4•4 years ago
•
|
||
The page on BMO uses a single-line column flex layout, but it prints on OK on Firefox even without bug 1622935. Anyway, printing a single-line flex container is fixed by 1622935.
You need to log in
before you can comment on or make changes to this bug.
Description
•