aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index b68b9b6b0..f3ccd218c 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -163,15 +163,19 @@ test("Persist correct display value", function() {
});
test("show() resolves correct default display #8099", function() {
- expect(3);
+ expect(5);
var bug8099 = jQuery("<tt/>").appendTo("#main");
equals( bug8099.css("display"), "none", "default display override for all tt" );
equals( bug8099.show().css("display"), "inline", "Correctly resolves display:inline" );
+ equals( jQuery("#foo").hide().show().css("display"), "block", "Correctly resolves display:block after hide/show" );
+
+ equals( bug8099.hide().css("display"), "none", "default display override for all tt" );
+ equals( bug8099.show().css("display"), "inline", "Correctly resolves display:inline" );
+
bug8099.remove();
- equals( jQuery("#foo").hide().show().css("display"), "block", "Correctly resolves display:block after hide/show" );
});