mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix #11443 fix. Safari 5.0.x, reliable margin? Riiight. Closes gh-792.
This commit is contained in:
parent
4621a0131b
commit
04c06e6858
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user