Printing leaves out text or is overlaid on other text
This is a problem unique to Firefox. Even a page that's been supposedly formatted for printing turns out with missing text or text overlaid on other text. And it's a problem that has been occurring over many iterations of the Firefox browser.
Here's an example that prints fine in Edge and Chrome: https://www.allrecipes.com/recipe/220867/falafels-with-yogurt-dill-sauce/?printview
What is the problem, and why can't/won't Firefox fix it?
The fix has been added to "Nightly", the future Firefox 95. Assuming no negative side effects are discovered in testing, we can hope that it comes to Firefox 94 next month.Read this answer in context 👍 1
All Replies (5)
Please see the following on printing problems and how to fix them:
https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox https://support.mozilla.org/en-US/kb/print-simplified-clutter-free-pages-firefox https://support.mozilla.org/en-US/kb/how-print-web-pages-firefox
Hope I helped!
Hi 777bb, the site puts the ingredient list in a tag called a <fieldset> which is intended for use in forms. Some time ago, the bug with splitting a <fieldset> over multiple pages was solved, but it seems that in this layout, there is a similar bug. What happens is, the ingredient list is treated as "unbreakable," so if the space is not enough, it gets pushed to the next page. However, in this case, the recipe seems to have some kind of maximum height set on it, so the ingredient list runs over the footer and disappears.
None of this is obvious from viewing the page, you would need to Inspect the HTML to learn or hack around this, and it's easier to use a different browser in this case.
Meanwhile, I filed a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1735375
(Note: please do not add comments to the bug unless they have a question for you.)
Thanks jscher2000 for finding the source of the problem and filing the bug report. I really do hope they'll bother to make the necessary fixes. (And I don't know why it's been going on for years and years—I'd guess I'm hardly the only one experiencing this.) Though there isn't really anything I can practically do about the Firefox problem, it's somehow satisfying to hear why it's printing the way it does.
The fix has been added to "Nightly", the future Firefox 95. Assuming no negative side effects are discovered in testing, we can hope that it comes to Firefox 94 next month.
jscher2000, that's great! Thanks again.