]> source.dussan.org Git - jquery.git/commitdiff
Removed a unit test that tested to see if queued objects were of a certain type....
authorDavid Serduke <davidserduke@gmail.com>
Thu, 20 Dec 2007 19:21:56 +0000 (19:21 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Thu, 20 Dec 2007 19:21:56 +0000 (19:21 +0000)
test/unit/fx.js

index 481b172225121ffd5dc0bc4da8b4de0319f640ce..5f6ad3993ef85d89493c65207b591771376c5852 100644 (file)
@@ -8,12 +8,6 @@ test("animate(Hash, Object, Function)", function() {
        $('#foo').animate(hash, 0, function() {
                ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );
        });
-       // using contents will get comments regular, text, and comment nodes
-       $("#nonnodes").contents().animate({paddingLeft:"5px"}, 100, function () {
-               equals(this.nodeType, 1, "Check node,textnode,comment animate just does real nodes" );
-               equals($(this).css("paddingLeft"), "5px", "Check node,textnode,comment animate just does real nodes" );
-               start();
-       });
 });
 
 test("animate option (queue === false)", function () {