Closed
Bug 22177
Opened 25 years ago
Closed 25 years ago
if dynamically written by JS, IFRAME in TABLE doesn't show contents
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: ekrock, Assigned: rickg)
Details
Attachments
(2 files)
1999121608 on WinNT 4.0 SP3.
If you create a hardcoded HTML document that has a TABLE with a single cell that
contains an IFRAME, the IFRAME displays fine. (see ex. testyahoostatic.html)
If you create the same markup for that table as a JavaScript string and
document.write() the string to the body of the same document, the contents of
the IFRAME are never displayed. (see ex. testyahoodynamic.html)
To repro: open attached test case testyahoodynamic.html and note that contents
of IFRAME never display.
---------------- Example testyahoostatic.html:
<html>
<head>
<title>BugAThon Progress Tracker</title>
</head>
<body>
<table BORDER WIDTH='100%'><tr>
<td><IFRAME SRC='http://www.yahoo.com/'></IFRAME></td>
</tr></table>
</body>
</html>
---------------
--------------- Example testyahoodynamic.html:
<html>
<head>
<title>BugAThon Progress Tracker</title>
</head>
<body>
<script>
var s = "<table BORDER WIDTH='100%'><tr><td><IFRAME
SRC='http://www.yahoo.com/'></IFRAME></td></tr></table>";
document.write(s);
</script></body></html>
---------------
Will attach both of these simplified test cases.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Reporter | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•25 years ago
|
||
!@#$% me. Appears that I was causing the problem myself by nesting double quotes
within double quotes. Dynamically written IFRAMEs work fine with either single
or double quotes around the URL in additional testing. INVALID my own bug within
only 8 minutes--a world record?
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
verified
You need to log in
before you can comment on or make changes to this bug.
Description
•