Skip to content
Permalink
Browse files
Merge pull request #444 from rwldrn/9634
Non-breaking-space should achieve the same effect as a visible character. Fixes #9634
  • Loading branch information
dmethvin committed Aug 4, 2011
2 parents d7681a1 + ddf925b commit ea0303e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -184,7 +184,7 @@ jQuery.support = (function() {
support.shrinkWrapBlocks = ( div.offsetWidth !== 2 );
}

div.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
div.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>&nbsp;</td></tr></table>";
tds = div.getElementsByTagName( "td" );

// Check if table cells still have offsetWidth/Height when they are set

0 comments on commit ea0303e

Please sign in to comment.