Rendering images with OBJECT tag doesn't work

VERIFIED FIXED

Status

()

P3
normal
VERIFIED FIXED
19 years ago
17 years ago

People

(Reporter: make, Assigned: serhunt)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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>

Comment 1

19 years ago
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

Comment 2

19 years ago
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

Comment 3

19 years ago
Reassigning to waterson.
Assignee: clayton → waterson

Comment 4

19 years ago
Putting on [nsbeta2-] radar. Not critical to beta2. 
Whiteboard: [nsbeta2-]

Updated

19 years ago
Status: NEW → ASSIGNED
Keywords: 4xp, nsbeta3
Target Milestone: --- → M20

Comment 5

19 years ago
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.

Comment 6

19 years ago
petersen: you gotta clear the status whiteboard ;-)
Whiteboard: [nsbeta2-]

Comment 7

19 years ago
Added nsbeta2+ to whiteboard
Whiteboard: [nsbeta2+]
(Assignee)

Comment 8

19 years ago
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>

Comment 9

19 years ago
Removed nsbeta2 from whiteboard which I added.
Whiteboard: [nsbeta2+]
(Assignee)

Updated

19 years ago
Assignee: waterson → av
Status: ASSIGNED → NEW
(Assignee)

Comment 11

19 years ago
Reassigning to myself.
(Assignee)

Comment 12

19 years ago
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.
(Assignee)

Comment 13

19 years ago
And yes, all the abovementioned tests work, so I guess we can mark this one 
fixed.
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 14

19 years ago
Cool, I hope to see the fix in the next build. Maybe tomorrow ?

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 15

19 years ago
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.