Inline the boxModel test, and correct unit test. Closes gh-781.

This commit is contained in:
Mike Sherov
2012-05-18 12:40:10 -04:00
committed by Dave Methvin
parent d12e9b289e
commit 0a2f93e6df
2 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,10 @@
module("support", { teardown: moduleTeardown });
ok( jQuery.support.boxModel, "jQuery.support.boxModel is perpetually true since 1.8" );
test("boxModel", function() {
expect( 1 );
equal( jQuery.support.boxModel, document.compatMode === "CSS1Compat" , "jQuery.support.boxModel is sort of tied to quirks mode but unstable since 1.8" );
});
testIframeWithCallback( "body background is not lost if set prior to loading jQuery (#9238)", "support/bodyBackground", function( color, support ) {
expect( 2 );