From: jeresig Date: Fri, 22 Oct 2010 04:29:52 +0000 (-0400) Subject: Be sure to clean up the previous test. X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=8b129ccd49365582c4013fd391f6f83cc75a5d0a Be sure to clean up the previous test. --- diff --git a/test/unit/css.js b/test/unit/css.js index ed8f919..8f24e2e 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -29,6 +29,8 @@ test("css(String|Hash)", function() { equals( div2.find("textarea").css("width"), "0px", "Width on hidden textarea." ); equals( div2.find("textarea").css("height"), "0px", "Height on hidden textarea." ); + div2.remove(); + // handle negative numbers by ignoring #1599, #4216 jQuery('#nothiddendiv').css({ 'width': 1, 'height': 1 });