Open Bug 1513949 Opened 6 years ago Updated 2 years ago

Certain webpages always print as blank

Categories

(Core :: Printing: Output, defect, P3)

defect

Tracking

()

People

(Reporter: nintendont84, Unassigned)

References

(Blocks 1 open bug, )

Details

(5 keywords, Whiteboard: [layout:print-triage:p1])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:64.0) Gecko/20100101 Firefox/64.0 Steps to reproduce: Went to https://www.bradleycorp.com/warranty/washroom-accessories Actual results: The page printed completely blank, and I was unable to print the important warranty information. Expected results: The page should have printed in it's entirety. This also affects printing as PDF and printing on multiple different printers, clearly a layout or toolkit issue.
Component: Untriaged → Printing: Output
Product: Firefox → Core
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0 20181213094243 Print Preview also shows both pages as blank. Other browsers can print using "Microsoft Print to PDF" printer.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Whiteboard: [layout:print-triage:p1]
Blocks: 1601429
Attached file Testcase #1 (deleted) —

This problem is a fixed-pos box with a placeholder on the next page, which we misplace at 0,0. It has width:100vw; height:100vh so it covers everything on the page. Then we replicate fixed pos boxes on every page...

Attached file Testcase #2 (deleted) —

For comparison; it appears that Chrome duplicates the fixed-pos box only on pages that follows after the page where its placeholder is. Safari doesn't duplicate it at all (at least not in Print Preview).

This seems like a rare edge case though, and is arguably an author mistake, so I'm taking it off the priority list.

Fwiw, it should be easy to fix for the author, for example:

@media print {
  #side-panel { display:none }
}

or simply remove this empty element from the page unless it serves purpose...

No longer blocks: 1601429
Keywords: dataloss, testcase
OS: Unspecified → All
Priority: P2 → P3
Hardware: Unspecified → All
Version: 64 Branch → unspecified
Blocks: 521204
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: