X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Ffx.js;fp=test%2Funit%2Ffx.js;h=87e6aea0d5cbdf4c9f3d7baffe9d07b807885efa;hb=343b0936a43953a993d1f2cc500b954d5bcc8280;hp=4b7d371c8e674b5e97cc51f68397039474a56439;hpb=fd0bf5d6edec1f3c03008bb29b16d7e7e1b36abc;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();