mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effects tests: Ignore leading/trailing whitespace when comparing style properties.
This commit is contained in:
parent
04e5b103ca
commit
39b452e1be
@ -143,10 +143,10 @@ asyncTest( "animateClass clears style properties when stopped", function() {
|
||||
expect( 2 );
|
||||
|
||||
test.addClass( "testChangeBackground", duration );
|
||||
notEqual( orig, style.cssText, "cssText is the not the same after starting animation" );
|
||||
notEqual( orig, style.cssText, "cssText is not the same after starting animation" );
|
||||
|
||||
test.stop( true, true );
|
||||
equal( orig, style.cssText, "cssText is the same after stopping animation midway" );
|
||||
equal( orig, $.trim( style.cssText ), "cssText is the same after stopping animation midway" );
|
||||
start();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user