X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=test%2Funit%2Ffx.js;h=87e6aea0d5cbdf4c9f3d7baffe9d07b807885efa;hb=5e0da8c0365b729f63fbd6d27223776551cb8f46;hp=4b7d371c8e674b5e97cc51f68397039474a56439;hpb=4e8f0c935e8fada0a755d9749cd371b96b9589d6;p=jquery.git diff --git a/test/unit/fx.js b/test/unit/fx.js index 4b7d371..87e6aea 100644 --- a/test/unit/fx.js +++ b/test/unit/fx.js @@ -100,6 +100,18 @@ test("animate duration 0", function() { }); }); +test("animate hyphenated properties", function(){ + expect(1); + stop(); + + jQuery("#nothiddendiv") + .css("font-size", 10) + .animate({"font-size": 20}, 200, function(){ + equals( this.style.fontSize, "20px", "The font-size property was animated." ); + start(); + }); +}); + test("animate non-element", function(){ expect(1); stop();