Empty print preview when printing dynamic content
Categories
(Core :: Print Preview, defect)
Tracking
()
People
(Reporter: schaefers, Unassigned)
Details
Attachments
(1 file)
1.20 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
Steps to reproduce:
Open the attached file, which generates dynamic content that is only visible for media type print.
Actual results:
The script opens the print preview but it is empty. Only after resizing(!) the firefox window, the preview is rendered.
To reproduce it again, you need to reload the page without caching (Cmd-Shift-r or Ctrl-Shift-r). A normal reload does not show the issue.
This is important, as in the real application where this issue appeared the dynamic content is never cached, so it happens always.
This code works on any browser except Firefox. It used to work on Firefox until the new print preview became the default.
Expected results:
The print preview should always render the dynamically inserted image.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Print Preview' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
I fixed this in bug 1697963. Thanks for reporting this!
Description
•