Fix #11443 fix. Safari 5.0.x, reliable margin? Riiight. Closes gh-792.

This commit is contained in:
Mike Sherov 2012-05-24 08:46:38 -04:00 committed by Dave Methvin
parent 4621a0131b
commit 04c06e6858

View File

@ -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 =