]> source.dussan.org Git - jquery.git/commitdiff
Non-breaking-space should achieve the same effect as a visible character. Fixes ... 444/head
authorRick Waldron <waldron.rick@gmail.com>
Mon, 25 Jul 2011 18:02:37 +0000 (14:02 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Mon, 25 Jul 2011 18:02:37 +0000 (14:02 -0400)
src/support.js

index 882b84a2f51b89162e2592887803942535ab35b1..ec639348cb6c97d6d6f8c95fdc8263d6ca946bb2 100644 (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