Bug Tracker

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#8894 closed bug (fixed)

appendTo() and alike methods called after clone() returns incorrect jQuery set in IE

Reported by: gravof Owned by:
Priority: high Milestone: 1.8
Component: manipulation Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


IE6+ (haven't tested IE9) don't introduce a new jQuery set after calling clone() and then appendTo().

However, if the target been appended to has more than two elements, this issue doesn't exist.

Please see http://jsfiddle.net/gravof/XsYeV/

Change History (5)

comment:1 Changed 6 years ago by john

  • Component changed from unfiled to manipulation
  • Priority changed from undecided to high
  • Status changed from new to open

comment:2 Changed 5 years ago by john

Huh - I wonder if this has to do with document fragments or some such... hmm. Confirmed in bug triage.

comment:4 Changed 5 years ago by dmethvin

  • Milestone changed from 1.next to 1.8
  • Resolution set to fixed
  • Status changed from open to closed

comment:5 Changed 4 years ago by Oleg

Fix #8894. Ensure .appendTo creates a new set in oldIE.

Changeset: abd2a07498afa48a4ec3ce0471b9b0b4fc812b55

Note: See TracTickets for help on using tickets.