Be sure to clean up the previous test.

This commit is contained in:
jeresig 2010-10-22 00:29:52 -04:00
parent e4a38670b1
commit 8b129ccd49

View file

@ -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 });