Skip to main content

Bug Tracker

Side navigation

#5447 closed bug (invalid)

Opened November 04, 2009 06:38AM UTC

Closed December 04, 2010 08:05AM UTC

clone() contains unwanted </div> in IE8

Reported by: singlewind Owned by: singlewind
Priority: critical Milestone: 1.4
Component: core Version: 1.3.2
Keywords: clone IE Cc:
Blocked by: Blocking:
Description

<div>

<object id="object" >

<param name="width" value="100" />

...

<embed ... />

</object>

<br />

<p></p>

</div>

jQuery(function($){

alert($('#object').html());

alert($('#object').clone().html());

});

the first alert showing "<embed .../>", all the params are ignored. the seconde alert showing "<embed /> </div>" which contains unwanted '</div>'.

Attachments (0)
Change History (2)

Changed November 19, 2010 10:03PM UTC by snover comment:1

owner: → singlewind
status: newpending

Please provide a reduced test case on jsFiddle demonstrating this issue if it still exists in current versions of jQuery.

Changed December 04, 2010 08:05AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!