Non-breaking-space should achieve the same effect as a visible character. Fixes #9634

This commit is contained in:
Rick Waldron 2011-07-25 14:02:37 -04:00
parent 27291ff06d
commit ddf925b770

View File

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