mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Merge pull request #444 from rwldrn/9634
Non-breaking-space should achieve the same effect as a visible character. Fixes #9634
This commit is contained in:
commit
ea0303ecbf
@ -184,7 +184,7 @@ jQuery.support = (function() {
|
|||||||
support.shrinkWrapBlocks = ( div.offsetWidth !== 2 );
|
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" );
|
tds = div.getElementsByTagName( "td" );
|
||||||
|
|
||||||
// Check if table cells still have offsetWidth/Height when they are set
|
// Check if table cells still have offsetWidth/Height when they are set
|
||||||
|
Loading…
Reference in New Issue
Block a user