aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-09-11 17:58:38 -0500
committerTimmy Willison <timmywillisn@gmail.com>2013-09-11 17:58:38 -0500
commite7bdccacab37164def22ac4ba3eaaf497b616378 (patch)
treef3e5bff61241130e37e0e8492f7a5261724c5047 /src/support.js
parent1a9f8d9bb17cceb733cc83f106c96e424acd14f9 (diff)
downloadjquery-e7bdccacab37164def22ac4ba3eaaf497b616378.tar.gz
jquery-e7bdccacab37164def22ac4ba3eaaf497b616378.zip
Fix failing support test in IE6/7
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index 3add264bf..dbaf92159 100644
--- a/src/support.js
+++ b/src/support.js
@@ -43,7 +43,7 @@ jQuery(function() {
// Check if natively block-level elements act like inline-block
// elements when setting their display to 'inline' and giving
// them layout
- div.style.cssText = "width:1px;padding:1px;display:inline;zoom:1";
+ div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1";
if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) {
// Prevent IE 6 from affecting layout for positioned elements #11048