Skip to content
Permalink
Browse files

Be sure to clean up the previous test.

  • Loading branch information
jeresig committed Oct 22, 2010
1 parent e4a3867 commit 8b129ccd49365582c4013fd391f6f83cc75a5d0a
Showing with 2 additions and 0 deletions.
  1. +2 −0 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 });

0 comments on commit 8b129cc

Please sign in to comment.
You can’t perform that action at this time.