Skip to content
Permalink
Browse files

Add additional test

  • Loading branch information
markelog committed Dec 20, 2012
1 parent ec75705 commit a3ddcc5fcea200ed43188438c4a500005fc7b68f
Showing with 9 additions and 0 deletions.
  1. +9 −0 test/unit/manipulation.js
@@ -2247,3 +2247,12 @@ test( "Index for function argument should be received (#13094)", 2, function() {
});

});

test( "Make sure jQuery.fn.remove can work on elements in documentFragment", 1, function() {
var fragment = document.createDocumentFragment(),
div = fragment.appendChild( document.createElement("div") );

$( div ).remove();

equal( fragment.childNodes.length, 0, "div element was removed from documentFragment" );
});

0 comments on commit a3ddcc5

Please sign in to comment.
You can’t perform that action at this time.