aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-04-07 14:39:44 +0200
committerDave Methvin <dave.methvin@gmail.com>2013-04-08 12:49:19 -0400
commit1233fc77883c26eeeea4847f9f0b90e07d189b90 (patch)
treef328fb701e2b1c1c220977b7765db1f4eef5db8e
parenteaedf098b311b2aaa48970b284e3b426562d0614 (diff)
downloadjquery-1233fc77883c26eeeea4847f9f0b90e07d189b90.tar.gz
jquery-1233fc77883c26eeeea4847f9f0b90e07d189b90.zip
Ref #13743. Remove support.boxModel, deprecated 1.3. Close gh-1230.
-rw-r--r--src/support.js3
-rw-r--r--test/unit/support.js12
2 files changed, 0 insertions, 15 deletions
diff --git a/src/support.js b/src/support.js
index a28fb971f..e46588dd1 100644
--- a/src/support.js
+++ b/src/support.js
@@ -20,9 +20,6 @@ jQuery.support = (function( support ) {
// Support: IE9, IE10
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
support.reliableMarginRight = true;
support.boxSizingReliable = true;
diff --git a/test/unit/support.js b/test/unit/support.js
index f557a954b..5507bcd97 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -1,11 +1,5 @@
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 ) {
testIframeWithCallback( "body background is not lost if set prior to loading jQuery (#9239)", "support/bodyBackground.html", function( color, support ) {
expect( 2 );
@@ -48,7 +42,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true,
"radioValue":true,
"checkClone":true,
- "boxModel":true,
"ajax":true,
"cors":true,
"clearCloneStyle": true,
@@ -66,7 +59,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true,
"radioValue":false,
"checkClone":true,
- "boxModel":true,
"ajax":true,
"cors":true,
"clearCloneStyle": true,
@@ -84,7 +76,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":false,
"radioValue":false,
"checkClone":true,
- "boxModel":true,
"ajax":true,
"cors":true,
"clearCloneStyle": false,
@@ -102,7 +93,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":false,
"radioValue":false,
"checkClone":true,
- "boxModel":true,
"ajax":true,
"cors":false,
"clearCloneStyle": false,
@@ -120,7 +110,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true,
"radioValue":true,
"checkClone":false,
- "boxModel":true,
"ajax":true,
"cors":true,
"clearCloneStyle": true,
@@ -138,7 +127,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked":true,
"radioValue":true,
"checkClone":true,
- "boxModel":true,
"ajax":true,
"cors":true,
"clearCloneStyle": true,