Commit 1233fc77 authored by Michał Gołębiowski's avatar Michał Gołębiowski Committed by Dave Methvin

Ref #13743. Remove support.boxModel, deprecated 1.3. Close gh-1230.

parent eaedf098
...@@ -20,9 +20,6 @@ jQuery.support = (function( support ) { ...@@ -20,9 +20,6 @@ jQuery.support = (function( support ) {
// Support: IE9, IE10 // Support: IE9, IE10
support.optSelected = opt.selected; support.optSelected = opt.selected;
// jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode
support.boxModel = document.compatMode === "CSS1Compat";
// Will be defined later // Will be defined later
support.reliableMarginRight = true; support.reliableMarginRight = true;
support.boxSizingReliable = true; support.boxSizingReliable = true;
......
module("support", { teardown: moduleTeardown }); module("support", { teardown: moduleTeardown });
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" );
});
if ( jQuery.css ) { if ( jQuery.css ) {
testIframeWithCallback( "body background is not lost if set prior to loading jQuery (#9239)", "support/bodyBackground.html", function( color, support ) { testIframeWithCallback( "body background is not lost if set prior to loading jQuery (#9239)", "support/bodyBackground.html", function( color, support ) {
expect( 2 ); expect( 2 );
...@@ -48,7 +42,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo ...@@ -48,7 +42,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true, "noCloneChecked":true,
"radioValue":true, "radioValue":true,
"checkClone":true, "checkClone":true,
"boxModel":true,
"ajax":true, "ajax":true,
"cors":true, "cors":true,
"clearCloneStyle": true, "clearCloneStyle": true,
...@@ -66,7 +59,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo ...@@ -66,7 +59,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true, "noCloneChecked":true,
"radioValue":false, "radioValue":false,
"checkClone":true, "checkClone":true,
"boxModel":true,
"ajax":true, "ajax":true,
"cors":true, "cors":true,
"clearCloneStyle": true, "clearCloneStyle": true,
...@@ -84,7 +76,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo ...@@ -84,7 +76,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":false, "noCloneChecked":false,
"radioValue":false, "radioValue":false,
"checkClone":true, "checkClone":true,
"boxModel":true,
"ajax":true, "ajax":true,
"cors":true, "cors":true,
"clearCloneStyle": false, "clearCloneStyle": false,
...@@ -102,7 +93,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo ...@@ -102,7 +93,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":false, "noCloneChecked":false,
"radioValue":false, "radioValue":false,
"checkClone":true, "checkClone":true,
"boxModel":true,
"ajax":true, "ajax":true,
"cors":false, "cors":false,
"clearCloneStyle": false, "clearCloneStyle": false,
...@@ -120,7 +110,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo ...@@ -120,7 +110,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true, "noCloneChecked":true,
"radioValue":true, "radioValue":true,
"checkClone":false, "checkClone":false,
"boxModel":true,
"ajax":true, "ajax":true,
"cors":true, "cors":true,
"clearCloneStyle": true, "clearCloneStyle": true,
...@@ -138,7 +127,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo ...@@ -138,7 +127,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true, "noCloneChecked":true,
"radioValue":true, "radioValue":true,
"checkClone":true, "checkClone":true,
"boxModel":true,
"ajax":true, "ajax":true,
"cors":true, "cors":true,
"clearCloneStyle": true, "clearCloneStyle": true,
......
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