aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/support.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/support.js')
-rw-r--r--test/unit/support.js15
1 files changed, 10 insertions, 5 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 51d0abd6d..3edc92b48 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -3,13 +3,18 @@ module("support", { teardown: moduleTeardown });
if ( jQuery.css ) {
testIframeWithCallback( "body background is not lost if set prior to loading jQuery (#9239)", "support/bodyBackground.html", function( color, support ) {
expect( 2 );
- var okValue = {
- "#000000": true,
- "rgb(0, 0, 0)": true
- };
+ var okValue = {
+ "#000000": true,
+ "rgb(0, 0, 0)": true
+ };
ok( okValue[ color ], "color was not reset (" + color + ")" );
- deepEqual( jQuery.extend( {}, support ), jQuery.support, "Same support properties" );
+ stop();
+ // Run doc ready tests as well
+ jQuery(function() {
+ deepEqual( jQuery.extend( {}, support ), jQuery.support, "Same support properties" );
+ start();
+ });
});
}