Opened 9 years ago
Closed 9 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
This causes isDisconnected() to return the wrong answer. Seems to have been introduced in 1.7.
Change History (6)
comment:1 Changed 9 years ago by
| Component: | unfiled → manipulation |
|---|---|
| Milestone: | None → 1.8.1 |
| Priority: | undecided → blocker |
| Status: | new → open |
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
| Owner: | set to Rick Waldron |
|---|---|
| Status: | open → assigned |
comment:4 Changed 9 years ago by
Introduced here https://github.com/jquery/jquery/commit/dd845a2c0f63f97e74e4d490ee66e12e0bf180c5
Working through a solution
comment:5 Changed 9 years ago by
| Milestone: | 1.8.1 → 1.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 9 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Elements created from html strings have a parentnode. Fixes #12392
Changeset: 18e7a53d15dadae24703178a87192104935551b4
Note: See
TracTickets for help on using
tickets.

Impact on
.beforeand.afteris here: http://jsfiddle.net/Dy4WG/8/