aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-05-14 21:02:42 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-05-15 23:29:20 -0400
commitc4e22ad8b5edd52ac78ec44bf7df8a7f37403623 (patch)
tree1208041730a0095ecc85062ceeb20dcbe9d1e9c7 /src/support.js
parentf76518e3931f7f2522a38bf37a7df24a620858fc (diff)
downloadjquery-c4e22ad8b5edd52ac78ec44bf7df8a7f37403623.tar.gz
jquery-c4e22ad8b5edd52ac78ec44bf7df8a7f37403623.zip
Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.
This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope. For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support.js b/src/support.js
index 8e50a15b7..61acce40d 100644
--- a/src/support.js
+++ b/src/support.js
@@ -95,8 +95,8 @@ jQuery.support = (function() {
boxSizingReliable: true
};
- // jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
- jQuery.boxModel = support.boxModel = (document.compatMode === "CSS1Compat");
+ // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode
+ support.boxModel = (document.compatMode === "CSS1Compat");
// Make sure checked status is properly cloned
input.checked = true;