Commit 742e15c6 authored by Julian Aubourg's avatar Julian Aubourg

Merged pull request #348 from rwldrn/8978.

jQuery.support core style guide correction. Fixes #8978
parents fb65ba41 08f52d69
...@@ -198,7 +198,7 @@ jQuery.support = (function() { ...@@ -198,7 +198,7 @@ jQuery.support = (function() {
// Fails in WebKit before Feb 2011 nightlies // Fails in WebKit before Feb 2011 nightlies
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
if ( document.defaultView && document.defaultView.getComputedStyle ) { if ( document.defaultView && document.defaultView.getComputedStyle ) {
marginDiv = document.createElement('div'); marginDiv = document.createElement( "div" );
marginDiv.style.width = "0"; marginDiv.style.width = "0";
marginDiv.style.marginRight = "0"; marginDiv.style.marginRight = "0";
div.appendChild( marginDiv ); div.appendChild( marginDiv );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment