Ticket #7253 (closed bug: invalid)
.text() function issue in IE print preview on table cell or td
|Reported by:||nalzam1@…||Owned by:|
Either I cannot find the existing bug report or searching for it is harder even in google search.
As we know IE will not render border of table td (table cell) until it contain something inside. So to show border in empty cell I put single space " " or " ".
Today I found at least IE7 does not render a border during print preview whenever I use .text(" "). There is a different when setting .html(" ") and .text(" "). Both functions will show a border in normal browsing. However when I open Print Preview, only .html(" ") working but .text(" ") is not.
When I check with FireBug lite, both functions set the same single space. I believe this is a bug in IE7. However we can make it more developer friendly with making .text(" ") uses .html(" ") internal functions for at least IE7.
Hope this will help you to save other programmers time.