Closed Bug 1697515 Opened 4 years ago Closed 4 years ago

Empty print preview when printing dynamic content

Categories

(Core :: Print Preview, defect)

Firefox 86
defect

Tracking

()

RESOLVED DUPLICATE of bug 1697963

People

(Reporter: schaefers, Unassigned)

Details

Attachments

(1 file)

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.

OS: Unspecified → All
Hardware: Unspecified → All

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.

Component: Untriaged → Print Preview
Product: Firefox → Core

I fixed this in bug 1697963. Thanks for reporting this!

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Great! Thanks a lot for fixing it!!!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: