diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2011-07-25 14:02:37 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2011-07-25 14:02:37 -0400 |
commit | ddf925b77007bb6f219c7bc56166753177a86dec (patch) | |
tree | c88c26a48ab7d5ee69cb80005c6c8468fb45c3cc /src/support.js | |
parent | 27291ff06ddb655f90a8d1eada71f7ac61499b12 (diff) | |
download | jquery-ddf925b77007bb6f219c7bc56166753177a86dec.tar.gz jquery-ddf925b77007bb6f219c7bc56166753177a86dec.zip |
Non-breaking-space should achieve the same effect as a visible character. Fixes #9634
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js index 882b84a2f..ec639348c 100644 --- a/src/support.js +++ b/src/support.js @@ -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> </td></tr></table>"; tds = div.getElementsByTagName( "td" ); // Check if table cells still have offsetWidth/Height when they are set |