mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Discovered that another effects bug was fixed with the recent CSS changes (namely that show animations always went to auto, even if they weren't supposed to). Test suite adjusted accordingly.
This commit is contained in:
parent
6a1d4f1a80
commit
2f603359fe
7
test/unit/effects.js
vendored
7
test/unit/effects.js
vendored
@ -516,7 +516,12 @@ jQuery.each( {
|
|||||||
if ( t_h == "show" ) {
|
if ( t_h == "show" ) {
|
||||||
var old_h = jQuery.css(this, "height");
|
var old_h = jQuery.css(this, "height");
|
||||||
jQuery(this).append("<br/>Some more text<br/>and some more...");
|
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();
|
start();
|
||||||
|
Loading…
Reference in New Issue
Block a user