Ticket #12392 (closed bug: fixed)
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: | ||
| Blocking: | Blocked by: |
Description
This causes isDisconnected() to return the wrong answer. Seems to have been introduced in 1.7.
Change History
comment:1 Changed 9 months ago by dmethvin
- Priority changed from undecided to blocker
- Status changed from new to open
- Component changed from unfiled to manipulation
- Milestone changed from None to 1.8.1
comment:2 Changed 9 months ago by dmethvin
Impact on .before and .after is here: http://jsfiddle.net/Dy4WG/8/
comment:3 Changed 9 months ago by dmethvin
- Owner set to rwaldron
- Status changed from open to assigned
comment:4 Changed 9 months ago by rwaldron
Introduced here https://github.com/jquery/jquery/commit/dd845a2c0f63f97e74e4d490ee66e12e0bf180c5
Working through a solution
comment:5 Changed 9 months ago by dmethvin
- Milestone changed from 1.8.1 to 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 7 months ago by Oleg
- Status changed from assigned to closed
- Resolution set to fixed
Elements created from html strings have a parentnode. Fixes #12392
Changeset: 18e7a53d15dadae24703178a87192104935551b4
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
