Closed Bug 208541 Opened 21 years ago Closed 14 years ago

Image element within object element (where object is not displayable) results in no image on printing

Categories

(Core :: Printing: Output, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: blakesley, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6

This is bug causing images not to be displayed when printing or print-previewing
where the image element in the (X)HTML is nested within an object element.

Reproducible: Always

Steps to Reproduce:
1. View a (X)HTML document which includes an object element (e.g.: SVG object)
with an image element (e.g.: PNG image) inside (so that the image can be
displayed were the UA cannot display the object).
2. View the document in a Gecko UA which does not have approriate software or
plug-ins for the object type, so that the images are displayed.
3. Print preview or print the document.

Actual Results:  
On the tree-killed (or print-previewed) document, a blank space of the same area
as the image appears in place of the image.

Expected Results:  
The image should appear.

This bug is reproducible in Mozilla Navigator 1.4b and Mozilla Firebird 0.6.  A
test case will be created.
This is caused by the single-pass reflow we do, so that
CantRenderReplacedElement never has a chance to work.
It should also be noted that no menu appears when clicking on an image, which
produces this bug, with ones secondary mouse button (i.e.: "right"-clicking). 
This bug would seem to be related, so I will not file seperately ATM.
Confirm new 20030710 PC/WinXP
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 213457
Assignee: printing → nobody
QA Contact: sujay → printing
The test case is somehow broken:
 * Nowadays, Gecko supports SVG, therefore won't fallback for the PNG image;
 * The SVG source is broken: as no "xmlns" is provided, it's rendered as plain XML.

Given the performed testing in bug 68120 comment 14 in Windows Vista SP2 (successor of 2000), I'd say this issue could also be marked resolved "works for me" (or "invalid", given the testcase issues).
(In reply to comment #5)
> Given the performed testing in bug 68120 comment 14 in Windows Vista SP2
> (successor of 2000), I'd say this issue could also be marked resolved "works
> for me" (or "invalid", given the testcase issues).

I'm marking the issue invalid for the test case issues. Please reopen if you feel this is incorrect and/or if you can reproduce with an updated version of the test case! ;-)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: