rem: var j = $("#nonnodes").contents(); j.empty(); equals( j.html(), "", "Check node,textnode,comment empty works" ); 
add: equals( $("#nonnodes").contents().length, 3, "Check node,textnode,comment remove works" ); $("#nonnodes").contents().remove(); equals( $("#nonnodes").contents().length, 0, "Check node,textnode,comment remove works" ); 
context: test("empty()", function() {	expect(3);	ok( $("#ap").children().empty().text().length == 0, "Check text is removed" );	ok( $("#ap").children().length == 4, "Check elements are not removed" );	// using contents will get comments regular, text, and comment nodes	var j = $("#nonnodes").contents();	j.empty();	equals( j.html(), "", "Check node,textnode,comment empty works" );});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/279f77e9609fba62c11a06f8c65221b16f7bc7d4/core.js/clean/test/unit/core.js