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.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index a07c076d7..7da814343 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -162,6 +162,18 @@ test("Persist correct display value", function() {
});
});
+test("show() resolves correct default display #8099", function() {
+ expect(3);
+ 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" );
+
+ bug8099.remove();
+
+ equals( jQuery("#foo").hide().show().css("display"), "block", "Correctly resolves display:block after hide/show" );
+});
+
test("animate(Hash, Object, Function)", function() {
expect(1);
stop();