Commit 934a2a70 authored by Mike Sherov's avatar Mike Sherov Committed by Dave Methvin

Check animation is close instead of exact, closes gh-823.

parent 84930370
......@@ -1649,7 +1649,8 @@ asyncTest( "animate does not change start value for non-px animation (#7109)", 1
computed.push( parseFloat( child.css( "width" ) ) );
}
}).queue( function( next ) {
equal( computed[0], actual, "Starting width was unchanged" );
var ratio = computed[ 0 ] / actual;
ok( ratio > .9 && ratio < 1.1 , "Starting width was close enough" );
next();
start();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment