aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-01-02 20:45:45 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-01-03 20:52:38 -0500
commitaa529696fb91eaa167ed4dad9c63957b3466a45c (patch)
tree2cf78877496d617c3e9be87f275b5bbc5df03b6f /src/support.js
parent02d7f9aee3fbe9b568702ecc4edd664245dc8917 (diff)
downloadjquery-aa529696fb91eaa167ed4dad9c63957b3466a45c.tar.gz
jquery-aa529696fb91eaa167ed4dad9c63957b3466a45c.zip
Remove inlineBlockNeedsLayout and shrinkWrapBlocks.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/support.js b/src/support.js
index 35bf0e6f3..114c1c31b 100644
--- a/src/support.js
+++ b/src/support.js
@@ -38,8 +38,6 @@ jQuery.support = (function() {
// Will be defined later
deleteExpando: true,
noCloneEvent: true,
- inlineBlockNeedsLayout: false,
- shrinkWrapBlocks: false,
reliableMarginRight: true,
boxSizingReliable: true,
pixelPosition: false
@@ -139,27 +137,6 @@ jQuery.support = (function() {
!parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight );
}
- if ( typeof div.style.zoom !== "undefined" ) {
- // Support: IE<8
- // Check if natively block-level elements act like inline-block
- // elements when setting their display to 'inline' and giving
- // them layout
- div.innerHTML = "";
- div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1";
- support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );
-
- // Support: IE6
- // Check if elements with layout shrink-wrap their children
- div.style.display = "block";
- div.innerHTML = "<div></div>";
- div.firstChild.style.width = "5px";
- support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );
-
- // Prevent IE 6 from affecting layout for positioned elements #11048
- // Prevent IE from shrinking the body in IE 7 mode #12869
- body.style.zoom = 1;
- }
-
body.removeChild( container );
// Null elements to avoid leaks in IE