mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 00:35:10 -05:00
Merged pull request #348 from rwldrn/8978.
jQuery.support core style guide correction. Fixes #8978
This commit is contained in:
@@ -198,7 +198,7 @@ jQuery.support = (function() {
|
||||
// Fails in WebKit before Feb 2011 nightlies
|
||||
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
|
||||
if ( document.defaultView && document.defaultView.getComputedStyle ) {
|
||||
marginDiv = document.createElement('div');
|
||||
marginDiv = document.createElement( "div" );
|
||||
marginDiv.style.width = "0";
|
||||
marginDiv.style.marginRight = "0";
|
||||
div.appendChild( marginDiv );
|
||||
|
||||
Reference in New Issue
Block a user