Skip to content

Commit

Permalink
Discovered that another effects bug was fixed with the recent CSS cha…
Browse files Browse the repository at this point in the history
…nges (namely that show animations always went to auto, even if they weren't supposed to). Test suite adjusted accordingly.
  • Loading branch information
jeresig committed Sep 23, 2010
1 parent 6a1d4f1 commit 2f60335
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/unit/effects.js
Expand Up @@ -516,7 +516,12 @@ jQuery.each( {
if ( t_h == "show" ) {
var old_h = jQuery.css(this, "height");
jQuery(this).append("<br/>Some more text<br/>and some more...");
notEqual(jQuery.css(this, "height") + "px", old_h, "Make sure height is auto.");

if ( /Auto/.test( fn ) ) {
notEqual(jQuery.css(this, "height"), old_h, "Make sure height is auto.");
} else {
equals(jQuery.css(this, "height"), old_h, "Make sure height is not auto.");
}
}

start();
Expand Down

0 comments on commit 2f60335

Please sign in to comment.