Side navigation
#4386 closed bug (fixed)
Opened March 19, 2009 04:35PM UTC
Closed December 06, 2010 10:17PM UTC
Last modified March 21, 2012 12:15AM UTC
iframe body clone event IE
Reported by: | bgrinstead | Owned by: | jitter |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | manipulation | Version: | 1.4.4 |
Keywords: | explorer body clone | Cc: | |
Blocked by: | Blocking: |
Description
I found some strange behavior in the clone event on the body element of an iframe. It only saves the first child node in the clone. If you clone an inner element, it works as expected (copies all of it's child nodes). I have been able to work around this behavior by changing the clone event back to how it was in 1.2.6 (with the owner document fix like in http://dev.jquery.com/ticket/2997).
Here is a test case that demonstrates the bug (works in firefox, broken in IE): http://jquery.nodnod.net/cases/257.
It certainly has to do with line 320 in jquery-1.3.2.js, but I haven't been able to fix it myself:
return jQuery.clean([html.replace(/ jQuery\\d+="(?:\\d+|null)"/g, "").replace(/^\\s*/, "")])[0];
Attachments (0)
Change History (8)
Changed April 10, 2009 03:00PM UTC by comment:1
Changed June 12, 2010 01:46PM UTC by comment:2
component: | unfiled → manipulation |
---|
Changed November 21, 2010 01:14AM UTC by comment:3
keywords: | explorer iframe clone → explorer body clone |
---|---|
milestone: | 1.4 → 1.5 |
priority: | major → high |
status: | new → open |
version: | 1.3.2 → 1.4.4 |
Changed November 21, 2010 10:05PM UTC by comment:4
owner: | → jitter |
---|---|
status: | open → assigned |
Changed December 06, 2010 10:17PM UTC by comment:5
milestone: | 1.5 → 1.4.5 |
---|---|
resolution: | → fixed |
status: | assigned → closed |
Landed.
Changed December 12, 2010 07:51PM UTC by comment:6
Changed January 14, 2011 10:20PM UTC by comment:7
milestone: | 1.4.5 → 1.5 |
---|
Move fixed tickets to appropriate milestone
Changed March 21, 2012 12:15AM UTC by comment:8
interesting
OK, that test case website is overwriting the case I set up. I haven't heard any response in a few weeks, but I will go ahead and paste the case here. Hopefully someone can get a chance to look at this. Thanks!