mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 06:55:02 -05:00
Event: Reduce differences from master
This commit is contained in:
@@ -1878,9 +1878,9 @@ test( "delegated event with selector matching Object.prototype property (#13203)
|
||||
test( "delegated event with intermediate DOM manipulation (#13208)", function() {
|
||||
expect(1);
|
||||
|
||||
jQuery("#foo").on( "click", "#sap", function() {});
|
||||
jQuery("#sap").on( "click", "#anchor2", function() {
|
||||
jQuery( this.parentNode ).remove();
|
||||
jQuery("#foo").on( "click", "[id=sap]", function() {});
|
||||
jQuery("#sap").on( "click", "[id=anchor2]", function() {
|
||||
document.createDocumentFragment().appendChild( this.parentNode );
|
||||
ok( true, "Element removed" );
|
||||
});
|
||||
jQuery("#anchor2").trigger("click");
|
||||
|
||||
Reference in New Issue
Block a user