aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-07-22 21:58:23 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-07-22 22:03:27 -0400
commitaa3fabce461313f7c31e9a250df57165f15be873 (patch)
tree5b1a227fd3fc96d6f8ec6b60670d467689dfd760 /src/support.js
parentff7a43456228826856f5f14f22fbe2d61ef59bf5 (diff)
downloadjquery-aa3fabce461313f7c31e9a250df57165f15be873.tar.gz
jquery-aa3fabce461313f7c31e9a250df57165f15be873.zip
Fix #12088, Safari 5 and more percentages in getComputedStyle
In particular, min-width and max-width are taunting the awesome hack. Closes gh-865.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/support.js b/src/support.js
index d9f579053..e4a8b7c83 100644
--- a/src/support.js
+++ b/src/support.js
@@ -91,7 +91,6 @@ jQuery.support = (function() {
inlineBlockNeedsLayout: false,
shrinkWrapBlocks: false,
reliableMarginRight: true,
- pixelMargin: true,
boxSizingReliable: true,
pixelPosition: false
};
@@ -220,7 +219,6 @@ jQuery.support = (function() {
// The difference between window.getComputedStyle and getComputedStyle is
// 7 bytes
if ( window.getComputedStyle ) {
- support.pixelMargin = ( window.getComputedStyle( div, null ) || {} ).marginTop !== "1%";
support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%";
support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px";