git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a1d4f1
)
Discovered that another effects bug was fixed with the recent CSS changes (namely...
author
jeresig
<jeresig@gmail.com>
Thu, 23 Sep 2010 03:43:55 +0000
(23:43 -0400)
committer
jeresig
<jeresig@gmail.com>
Thu, 23 Sep 2010 03:43:55 +0000
(23:43 -0400)
test/unit/effects.js
patch
|
blob
|
history
diff --git
a/test/unit/effects.js
b/test/unit/effects.js
index
cc6d365
..
ed6faa9
100644
(file)
--- a/
test/unit/effects.js
+++ b/
test/unit/effects.js
@@
-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...");
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();
}
start();