Closed Bug 1674883 Opened 5 years ago Closed 3 years ago

Missing content when printing a webpage in table layout

Categories

(Core :: Printing: Output, defect)

Firefox 82
defect

Tracking

()

VERIFIED DUPLICATE of bug 1648947
Tracking Status
firefox85 --- affected
firefox86 --- affected
firefox87 --- affected

People

(Reporter: tcflorea, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0

Steps to reproduce:

Using Firefox 82.0.2 ( or Nightly 84.0a1) on Windows 10.
Log in to my account mail.yahoo.com
Select an email.
Click "Print" pictogram.
A pop-up window and menu menu to select the printer appears
Select "Microsoft Print to PDF" (or even real printer for that matter).
Click "Print"

Actual results:

The PDF document generated ( end even the page printed) contains blank spaces. instead of the text /images shown on the display.
E.g.

  1. From the 4 PDF (or printed) pages, the second page is empty hence the mid part of email is not printed
  2. The same mail printed in Landscape orientation, have the pages 1 and 6 printed correctly, page 5 partly printed and pages 2-4 and part of page 5 partly printed
    3 The range of the "blank" area will change if I

Expected results:

The Printed web page (which is an email form my yahoo account) should have been printed as it appears on the screen.

On other browsers the email is printed correctly so I don't think this is an yahoo bug.
The issue does not occur on every email. This particular email embeds some images and I think may also contain some broken links.
I'll try to reproduce the issue outside yahoo context.

*typo:
1. From the 4 PDF (or printed) pages, the second page is empty hence the mid part of email is not printed
2. The same mail printed in Landscape orientation, have the pages 1 and 6 printed correctly, page 5 partly printed and pages 2-4 blank
3. The range of the "blank" area will change if I change the scale size settings.

Component: Untriaged → Printing: Output
Product: Firefox → Core

Yes, it will be hard for us to diagnose without the actual HTML markup of the email in question. If you're able to forward the email (it contains no sensitive information) then that may help us. Alternatively, if you're able to reduce the markup to something reproducible, that'd be great too :) Things to look for would be use of display: flex or display: grid or very tall inline images, as we have known printing issues with some of this content.

Flags: needinfo?(tcflorea)
Attached file Print_bug.html

Attached is a html file to reproduce the issue.
It has been edited from a spam email received with offers for 10 hotels.
I can see 10 hotels in the html but not all of them on pdf/ paper.
Let me know if this helps.

Flags: needinfo?(tcflorea)

The hotel grids are designed in table layout. Per layout triage guidline, some content is missing when printing. Set Severity S2.

Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: printing mail ( and some particular web pages) bug → Missing content when printing a webpage in table layout

Reproduced the issue on all latest Firefox versions using print to pdf on MacOS 10.15. Only number 1,2 and 7,8,9,10 are printed from the total number of 10 Hotels. Chrome does not have this issue.

The bug is still present in the the latest version of Frefox: 89.0a1 (2021-04-18) (64-bit).
Is it anything else I could help to have this fixed?
Thank you.

Flags: needinfo?(sean)

The bug is still present in the latest version of Firefox 91.0a1

Still reproducible in Nightly 100. Also, possibly related to bug 1702635.

Flags: needinfo?(sean)
See Also: → 1702635

...and it looks like we have a reduced testcase for a similar issue in bug 1696334.

See Also: → 1696334

Duping to bug 1696334 since it seems like probably the same root issue, and we've got a substantially-reduced testcase and some investigation there.

Hopefully we can fix that bug before long, and when we do, we can retriage dupes (including this one) to be sure they're fixed.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

er, bug 1648947 is probably a better dupe target since it's older & also has reduced testcases.

See Also: 1696334

The testcase looks good in print preview after fixing bug 1648947. I verified this on Firefox Nightly 126.0a1 (2024-03-26).

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: