diff options
author | rwldrn <waldron.rick@gmail.com> | 2011-04-12 11:48:07 -0400 |
---|---|---|
committer | rwldrn <waldron.rick@gmail.com> | 2011-04-12 11:48:07 -0400 |
commit | 7164615f6727c67da612fecc63867d30e1b4b4a3 (patch) | |
tree | d441adbb134c9517fd38e3bb3cb57b36452cce7b /test/unit/effects.js | |
parent | f19a74f10b82faf61e91a1408d0776d02511b28c (diff) | |
download | jquery-7164615f6727c67da612fecc63867d30e1b4b4a3.tar.gz jquery-7164615f6727c67da612fecc63867d30e1b4b4a3.zip |
Ticket 8099, Reattempt with iframe
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r-- | test/unit/effects.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index 4faf61743..b68b9b6b0 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -162,6 +162,19 @@ 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(); |