Skip to main content

Bug Tracker

Side navigation

#12392 closed bug (fixed)

Opened August 24, 2012 07:57PM UTC

Closed October 26, 2012 12:41AM UTC

Elements created from HTML strings have a parentNode

Reported by: dmethvin Owned by: rwaldron
Priority: blocker Milestone: 1.9
Component: manipulation Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

http://jsfiddle.net/F4LVB/

This causes isDisconnected() to return the wrong answer. Seems to have been introduced in 1.7.

Attachments (0)
Change History (6)

Changed August 24, 2012 08:00PM UTC by dmethvin comment:1

component: unfiledmanipulation
milestone: None1.8.1
priority: undecidedblocker
status: newopen

Changed August 24, 2012 08:08PM UTC by dmethvin comment:2

Impact on .before and .after is here:

http://jsfiddle.net/Dy4WG/8/

Changed August 27, 2012 04:18PM UTC by dmethvin comment:3

owner: → rwaldron
status: openassigned

Changed August 27, 2012 05:45PM UTC by rwaldron comment:4

Changed August 30, 2012 02:34PM UTC by dmethvin comment:5

milestone: 1.8.11.9

Since this has been true for many versions I'm kicking it to 1.9 for meditation. We've already solved the regression with div reuse in jQuery.clean.

Changed October 26, 2012 12:41AM UTC by Oleg comment:6

resolution: → fixed
status: assignedclosed

Elements created from html strings have a parentnode. Fixes #12392

Changeset: 18e7a53d15dadae24703178a87192104935551b4