Bug Tracker

Opened 5 years ago

Closed 5 years ago

#12392 closed bug (fixed)

Elements created from HTML strings have a parentNode

Reported by: dmethvin Owned by: Rick Waldron
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.

Change History (6)

comment:1 Changed 5 years ago by dmethvin

Component: unfiledmanipulation
Milestone: None1.8.1
Priority: undecidedblocker
Status: newopen

comment:2 Changed 5 years ago by dmethvin

Impact on .before and .after is here: http://jsfiddle.net/Dy4WG/8/

comment:3 Changed 5 years ago by dmethvin

Owner: set to Rick Waldron
Status: openassigned

comment:4 Changed 5 years ago by Rick Waldron

comment:5 Changed 5 years ago by dmethvin

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.

comment:6 Changed 5 years ago by Oleg

Resolution: fixed
Status: assignedclosed

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

Changeset: 18e7a53d15dadae24703178a87192104935551b4

Note: See TracTickets for help on using tickets.