Closed Bug 82980 Opened 23 years ago Closed 23 years ago

Images inlined with <EMBED> prompt for a plugin download

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssmith, Assigned: serhunt)

References

()

Details

Attachments

(1 file)

To reproduce:

  Visit http://www.w3.org/Graphics/PNG/Inline-embed.html

Result:

  Popup: "This page contains information of type (image/png) that can only
          viewed with the appropriate plugin ..."

I have also tried this with jpeg and the result is the same.  Shouldn't
imagelib/libpr0n be able to handle these natively?
Note: Seen on post-0.9.1-freeze linux CVS build and W95 0.9 release.
Happens on Win32 build 2001052708 too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I'm going to reassign this to plugins.... I expect the plugin object frame 
should try and create an image frame inside if its an image.
Assignee: pavlov → av
Component: ImageLib → Plug-ins
QA Contact: tpreston → shrir
The attached patch fixes the original problem but there is still remaining 
issue. Somehow, <p align="center"> doesn't work for the embed tag. It works for 
other tags which trigger the creation of the object frame, so that the following 
works fine:

<p align="center"><img src="test.gif">
as well as
<p aling="center"><object data="test.gif"></object>

but this does not center the image:

<p align="center"><embed src="test.gif">

Adding peterl and karnaze.
Just one more observation: <center>...</center> pair works fine.
The patch works for me with images, but doesn't work with <embed>ed SVG graphics.

Compare embedded v. <embed> at 

  http://www.skeeter-s.com/svg/mozilly.xml
SVG graphics is not natively supported, is it? What is wrong on this latest page 
should probably be filed separately against XML.
*** Bug 89572 has been marked as a duplicate of this bug. ***
r=peterl on Andrei's patch. 

The centering problem is another bug, but you should try to get this in.
OS: Linux → All
Hardware: PC → All
sr=attinasi
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
works on all plfs now.verif.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: