Closed Bug 303036 Opened 16 years ago Closed 3 years ago

Print preview doesn't work well for OBJECTs and EMBEDs containing documents

Categories

(Core :: Print Preview, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: roc, Unassigned)

References

Details

Attachments

(2 files)

With GTK2, if you print preview on a page containing OBJECT or EMBED elements
which give rise to subdocuments (e.g., an OBJECT containing HTML or an EMBED
containing SVG), the documents appear in the wrong place. It appears the widget
isn't being positioned correctly. I've spent a while trying to figure out why
but I can't figure it out. As far as I can tell we build the correct nsIWidget
tree, but GTK2 at least isn't putting the widget in the right place. I'd be
interested to know if it works in Windows.
Attached file testcase
This testcase demonstrates the bug. Just open it and then do Print Preview.
caillon, I'd appreciate it if you could take a look because I'm fed up with it
right now.
The patch in bug 303023 is necessary to make the EMBED test work at all.
Attached file HTML-only testcase
This testcase shows the bug with just HTML in an OBJECT.
Depends on: 316489
Is Firefox bug 322914 (partly) related to this bug?
No longer depends on: 316489
Assignee: printing → nobody
QA Contact: printing
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.