Closed Bug 44422 Opened 25 years ago Closed 25 years ago

Rendering images with OBJECT tag doesn't work

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: make, Assigned: serhunt)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.73 [en] (WinNT; U) BuildID: 2000070108 According to the HTML4.01 spec it should be possible to include images by using the <object> tag. See the spec for an example. Reproducible: Always Steps to Reproduce: 1. Get your HTML4 spec and have a look on page 162. 2. Setup a quick testcase from the example given in the object tag section. 3. Load it with Mozilla. Actual Results: Only the content, but not the object/image will be rendered. The content is the stuff between the <object> tags. Expected Results: The image should have been rendered Example from the spec: <OBJECT data="http://www.somecompany.com/People/Ian/vacation/family.png" type="image/png"> A photo of my family at the lake. </OBJECT>
Confirming issue is occuring in the July 3rd builds. There was a existing bug report a few weeks ago but can no longer locate it bugzilla. This problem only affects OBJECTS that use TYPE attribute assigned PNG. JPG, or GIF.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Most of our HTML 4 object test cases (http://mozilla.org/quality/browser/ standards/html) uses a image source. These are natively supported formats (PNG, JPG, and GIF) in the browser and should be supported when used with OBJECT.
Keywords: nsbeta2
Reassigning to waterson.
Assignee: clayton → waterson
Putting on [nsbeta2-] radar. Not critical to beta2.
Whiteboard: [nsbeta2-]
Status: NEW → ASSIGNED
Keywords: 4xp, nsbeta3
Target Milestone: --- → M20
I would still like to see this issue fixed for beta2. This was functioning in the Preview 1 release in April and now is broken.
petersen: you gotta clear the status whiteboard ;-)
Whiteboard: [nsbeta2-]
Added nsbeta2+ to whiteboard
Whiteboard: [nsbeta2+]
The link is gone. Working test case. <OBJECT data="http://people.netscape.com/av/photo/Stanford/images/full/men1.jpg" type="image/jpeg"> Rodin </OBJECT>
Removed nsbeta2 from whiteboard which I added.
Whiteboard: [nsbeta2+]
Assignee: waterson → av
Status: ASSIGNED → NEW
Reassigning to myself.
Oops! Somebody was too quick. I've just checked in the fix. I hope I won't be punished for checking in non-nsbeta2+ stuff. I really didn't know it was downgraded five minutes ago.
And yes, all the abovementioned tests work, so I guess we can mark this one fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Cool, I hope to see the fix in the next build. Maybe tomorrow ?
Status: RESOLVED → VERIFIED
Fixed in the July 11th builds (2000071120).
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.