mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Inline the boxModel test, and correct unit test. Closes gh-781.
This commit is contained in:
committed by
Dave Methvin
parent
d12e9b289e
commit
0a2f93e6df
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user