Missing content when printing a webpage in table layout
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: tcflorea, Unassigned)
References
Details
Attachments
(1 file)
|
334.39 KB,
text/html
|
Details |
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.
- From the 4 PDF (or printed) pages, the second page is empty hence the mid part of email is not printed
- 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.
| Reporter | ||
Comment 1•5 years ago
|
||
*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.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
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.
| Reporter | ||
Comment 3•5 years ago
|
||
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.
Comment 4•5 years ago
|
||
The hotel grids are designed in table layout. Per layout triage guidline, some content is missing when printing. Set Severity S2.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
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.
| Reporter | ||
Comment 6•5 years ago
|
||
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.
| Reporter | ||
Comment 7•5 years ago
|
||
The bug is still present in the latest version of Firefox 91.0a1
Comment 8•4 years ago
|
||
Still reproducible in Nightly 100. Also, possibly related to bug 1702635.
Comment 9•4 years ago
|
||
...and it looks like we have a reduced testcase for a similar issue in bug 1696334.
Comment 10•3 years ago
|
||
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.
Comment 11•3 years ago
|
||
er, bug 1648947 is probably a better dupe target since it's older & also has reduced testcases.
Comment 12•2 years ago
|
||
The testcase looks good in print preview after fixing bug 1648947. I verified this on Firefox Nightly 126.0a1 (2024-03-26).
Description
•