Skip to content

Edge self-replacement cases of replaceWith #1752

@mgol

Description

@mgol

Originally reported by markelog at: http://bugs.jquery.com/ticket/14380

I created this ticket as per gibson042 request in  https://github.com/jquery/jquery/pull/1276#issuecomment-24526014.

See  http://jsfiddle.net/gejGm/ for essence of it.

Related to #4087. I bring this issue up in IRC channel, right after fix for #4087 was landed, back then, it was decided that this cases are the rare ones and they do not worth it.

Given that i'm not aware of any of these kind of problems submitted to the bug tracker and that #4087 has lived for 5 years without a lot of attention to it and taking into account complexity of the solution for this ticket, which probably would negatively reflect on size and speed, i'm inclined to close this issue with "patchwelcome" resolution.

Issue reported for jQuery 1.10.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions