rem: makeTest( "CSS Overflow and Display" ) .addClass("overflow inline") .addClass("widewidth") .text("Some sample text.") .before("text before") .after("text after") .animate({ opacity: 0.5 }, "slow", checkOverflowDisplay); 
add:  var $foo = $("#nothiddendiv"); var w = 0; $foo.hide().width(200).width();  $foo.animate({ width:'show' }, 1000); $foo.animate({ width:'hide' }, 1000); $foo.animate({ width:'show' }, 1000); setTimeout(function(){ var nw = $foo.width(); ok( nw != w, "An animation occurred " + nw + "px " + w + "px"); $foo.stop(true);  nw = $foo.width(); ok( nw != w, "Stop didn't reset the animation " + nw + "px " + w + "px");  equals( $foo.queue().length, 0, "The animation queue was cleared" ); setTimeout(function(){ equals( nw, $foo.width(), "The animation didn't continue" ); start(); }, 100); }, 100); 
context: test("CSS Overflow and Display", function() {	expect(2);	stop();	makeTest( "CSS Overflow and Display" )		.addClass("overflow inline")		.addClass("widewidth")		.text("Some sample text.")		.before("text before")		.after("text after")		.animate({ opacity: 0.5 }, "slow", checkOverflowDisplay);});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/5039a4bc5b951b9d28659f6f42f73c59e2e560fc/fx.js/clean/test/unit/fx.js