Closed
Bug 87058
Opened 24 years ago
Closed 24 years ago
IFRAME disappears in DOM when setting STYLE=display:none
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
mozilla1.0
People
(Reporter: wgrinfeld, Assigned: jst)
Details
Attachments
(1 file)
627 bytes,
text/html
|
Details |
in version 9.1 (works in Mozilla 9.0 and NN6.01)
In case a JavaScript sets the display style attribute of an IFRAME to 'none',
it cannot write into it later after setting display to 'block'.
Reporter | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
*** This bug has been marked as a duplicate of 52334 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Summary: IFRAME disappears in DOM when setting STYLE=display:none → IFRAME disappears in DOM when setting STYLE=display:none
Assignee | ||
Comment 3•24 years ago
|
||
Re-opening, this is actually not a dup of bug 52334, as Wolfgang pointed out in
private email.
The problem that causes this problem is that we cache the value of window.Frame0
(which is the same as window.frames.Frame0) and we end up using that cached
value after the display of the iframe has been set back to block, in which case
there's a new window for the iframe. Adding:
delete window.frames.Frame0;
as the first line in function f() works around this problem.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 4•24 years ago
|
||
Confirming, and accepting.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 6•24 years ago
|
||
This will actually be fixed by the fix for bug 52334, re-duping.
*** This bug has been marked as a duplicate of 52334 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•