Skip to main content

Bug Tracker

Side navigation

#13596 closed bug (fixed)

Opened March 11, 2013 08:46PM UTC

Closed April 16, 2013 09:49PM UTC

.replaceWith should always remove the context set

Reported by: gibson042 Owned by: gibson042
Priority: high Milestone: 1.10
Component: manipulation Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

(copied from https://github.com/jquery/jquery-migrate/issues/28)

Some edge-case arguments can break .replaceWith, causing it to no-op instead of removing the context set. It should be updated to guarantee .remove(), even if .domManip never executes the callback.

http://jsfiddle.net/T5CjG/6/

Attachments (0)
Change History (3)

Changed March 11, 2013 08:48PM UTC by gibson042 comment:1

component: unfiledmanipulation
milestone: None1.9.2
owner: → gibson042
priority: undecidedhigh
status: newassigned

Changed April 05, 2013 01:14AM UTC by dmethvin comment:2

milestone: 1.9.21.10

Changed April 16, 2013 09:49PM UTC by Richard Gibson comment:3

resolution: → fixed
status: assignedclosed

Fix #13596; #13722: .replaceWith consistency. Close gh-1216.

Changeset: db0326b1fdd22b97e24af34245e38914c04a70ba