Commit a3ddcc5f authored by Oleg's avatar Oleg

Add additional test

parent ec75705f
......@@ -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" );
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment