Opened 13 years ago
Closed 12 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 12 years ago by
Owner: | set to singlewind |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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!
Please provide a reduced test case on jsFiddle demonstrating this issue if it still exists in current versions of jQuery.