diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-05-24 08:46:38 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-05-24 21:04:50 -0400 |
commit | 04c06e6858caca13fd9cca71ce80a1fd431f2c41 (patch) | |
tree | a53ad04c281a0b7252304aec200ab2c8e50cda40 /src/support.js | |
parent | 4621a0131b98461e41082aa0aaf73f9c6f4ca9ce (diff) | |
download | jquery-04c06e6858caca13fd9cca71ce80a1fd431f2c41.tar.gz jquery-04c06e6858caca13fd9cca71ce80a1fd431f2c41.zip |
Fix #11443 fix. Safari 5.0.x, reliable margin? Riiight. Closes gh-792.
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js index c7c2b5434..3a51ba74b 100644 --- a/src/support.js +++ b/src/support.js @@ -225,7 +225,7 @@ jQuery.support = (function() { div.innerHTML = ""; marginDiv = document.createElement( "div" ); marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = "0"; + marginDiv.style.marginRight = marginDiv.style.width = "0"; div.style.width = "2px"; div.appendChild( marginDiv ); support.reliableMarginRight = |