Closed
Bug 592568
Opened 15 years ago
Closed 15 years ago
I use "appendChild" to append a div containing an iframe to body, if there is another iframe in the page, the div's iframe will be filled with another iframe's content.
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: r4666, Unassigned)
Details
(Whiteboard: [WFM?])
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
like the code below:
<body>
<div>
<div id="div1">
<iframe></iframe>
</div>
</div>
<iframe src="http://www.google.com/"></iframe>
<script type="text/javascript">
document.body.appendChild(document.getElementById("div1"))
</script>
</body>
Reproducible: Always
Steps to Reproduce:
like the code below:
<body>
<div>
<div id="div1">
<iframe></iframe>
</div>
</div>
<iframe src="http://www.google.com/"></iframe>
<script type="text/javascript">
document.body.appendChild(document.getElementById("div1"))
</script>
</body>
Comment 1•15 years ago
|
||
Can't reproduce on 3.6.8, nor on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0b6pre) Gecko/20100904 Firefox/4.0b6pre
Updated•15 years ago
|
Product: Firefox → Core
QA Contact: general → general
Whiteboard: [WFM?]
![]() |
||
Comment 2•15 years ago
|
||
Yep. Worksforme as well.
Reporter, please feel free to reopen if you attach a testcase that shows the problem....
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
![]() |
||
Comment 7•15 years ago
|
||
Ah, if you need refresh to reproduce then bug 462076 almost certainly fixed it. Please try Firefox 4 beta 5?
You need to log in
before you can comment on or make changes to this bug.
Description
•