Changeset 4285
- Timestamp:
- 12/20/07 19:21:56 (1 year ago)
- Files:
-
- 1 modified
-
trunk/jquery/test/unit/fx.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/test/unit/fx.js
r4062 r4285 8 8 $('#foo').animate(hash, 0, function() { 9 9 ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' ); 10 });11 // using contents will get comments regular, text, and comment nodes12 $("#nonnodes").contents().animate({paddingLeft:"5px"}, 100, function () {13 equals(this.nodeType, 1, "Check node,textnode,comment animate just does real nodes" );14 equals($(this).css("paddingLeft"), "5px", "Check node,textnode,comment animate just does real nodes" );15 start();16 10 }); 17 11 });
