Closed Bug 17540 Opened 25 years ago Closed 25 years ago

OBJECT element never render its contents

Categories

(Core :: Layout, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: emk, Assigned: nisheeth_mozilla)

References

()

Details

(Whiteboard: DOGFOOD)

Attachments

(1 file)

Steps to reproduce:
1. Launch mozilla.
2. Go to the following testcase.

Actual result:
Gray placeholder box drawn, and never go away.
I'm using 1999102808 build mozilla.exe on WinNT4 (SP5).

Expected result:
Mozilla should render OBJECT's contents when it cannnot render
object itself.
See the HTML spec. 13.3.1. ( http://www.w3.org/TR/REC-
html40/struct/objects.html#h-13.3.1 )
See also Bug 1994.
Mozilla M10 build works as expected.
Attached file testcase
This bug prevents EMBED into OBJECT is rendered.
See the above URL.
Assignee: troy → dp
Severity: normal → major
Priority: P3 → P2
Whiteboard: DOGFOOD
dp and Pam, this is because the pres shell's CantRenderReplacedElement() code
was commented out by Nisheeth to work around the crash

Looking at the log for nsPresShell.cpp this still isn't enabled and it's causing
problems for OBJECT, EMBED, and IMG
Nisheeth:
Gagan checked in his change for the 'url redirect' fix yesterday.
This should mean you/we can test with the temporary
fix(CantRenderReplacedElement()) removed.
Let me know what's up and I can help test.

-pn
Assignee: dp → nisheeth
Re-assigning this bug to myself.  Putting gagan and dp on the cc list.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I removed my hack and tested this test case as well as the home.netscape.com,
mozilla.org, excite, and yahoo.  Everything looks good.  So it looks like the
earlier hack is no longer needed.  I've backed it out.
Status: RESOLVED → VERIFIED
Fixed in the Nov 16th (1999111608) build.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: