Bug Tracker

Opened 10 years ago

Closed 8 years ago

#5447 closed bug (invalid)

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>'.

Change History (2)

comment:1 Changed 9 years ago by snover

Owner: set to singlewind
Status: newpending

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

comment:2 Changed 8 years ago by trac-o-bot

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!

Note: See TracTickets for help on using tickets.