Closed
Bug 6092
Opened 25 years ago
Closed 25 years ago
document.write() writes out statements twice in M5
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
M8
People
(Reporter: ekrock, Assigned: peterl-retired)
References
()
Details
Here's a bizarre one. These lines toward the bottom of the page are dynamically
generated as the document is loaded by document.write() statements:
ie:false
ie3:false
ie4:false
ie4up:false
ie5:false
ie5up:false
Bizarrely, in M5, those lines (only!) are displayed twice on screen (as if
they'd been written out twice) even though they're only actually generated once.
If you open the same page in IE5 or Nav4.51, you'll see the lines are only
displayed once.
What I can't figure out is why it's only these lines related to IE which are
duplicated, not all the rest. Maybe it's that by coincidence those lines are
somehow being scanned twice?
Reporter | ||
Comment 1•25 years ago
|
||
Here's the JavaScript that's writing out the segment. Maybe the first <P>
written out is somehow triggering duplicate display?
<br><script LANGUAGE="JavaScript">
<!--
document.write("nav:" + is_nav + "<BR>");
document.write("nav2:" + is_nav2 + "<BR>");
document.write("nav3:" + is_nav3 + "<BR>");
document.write("nav4:" + is_nav4 + "<BR>");
document.write("nav4up:" + is_nav4up + "<BR>");
document.write("nav5:" + is_nav5 + "<BR>");
document.write("nav5up:" + is_nav5up + "<BR>");
document.write("navonly:" + is_navonly + "<BR>");
document.write("<P>" + "ie:" + is_ie + "<BR>");
document.write("ie3:" + is_ie3 + "<BR>");
document.write("ie4:" + is_ie4 + "<BR>");
document.write("ie4up:" + is_ie4up + "<BR>");
document.write("ie5:" + is_ie5 + "<BR>");
document.write("ie5up:" + is_ie5up + "<BR>");
document.write("<P>" + "opera:" + is_opera + "<BR>");
//-->
</script>
Updated•25 years ago
|
Assignee: norris → vidur
Component: JavaScript → DOM Level 0
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M7
Comment 3•25 years ago
|
||
The content model looks OK, so it's something to do with frame creation. Moving
to M7.
Updated•25 years ago
|
Comment 4•25 years ago
|
||
Peter, another closely related bug to 2243 and frame creation driven by the
HTMLContentSink.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M8
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•25 years ago
|
||
Duplicate. Marking verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•