diff options
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r-- | test/unit/effects.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index e478cdf63..25c9834e4 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -263,6 +263,15 @@ test("animate negative height", function() { }); }); +test("animate negative margin", function() { + expect(1); + stop(); + jQuery("#foo").animate({ marginTop: -100 }, 100, function() { + equal( jQuery(this).css("marginTop"), "-100px", "Verify margin." ); + start(); + }); +}); + test("animate negative padding", function() { expect(1); stop(); |