From 8b129ccd49365582c4013fd391f6f83cc75a5d0a Mon Sep 17 00:00:00 2001 From: jeresig Date: Fri, 22 Oct 2010 00:29:52 -0400 Subject: [PATCH] Be sure to clean up the previous test. --- test/unit/css.js | 2 ++ 1 file changed, 2 insertions(+) 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 }); -- 1.7.10.4