From: Colin Snover Date: Sun, 26 Dec 2010 16:35:14 +0000 (-0600) Subject: Fix reliableHiddenOffsets test was not working properly when table cells have borders... X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=52b1709b94cf631e0641eebfa4f76b101528d93b Fix reliableHiddenOffsets test was not working properly when table cells have borders, causing unnecessary slowness in some browsers. Thanks to matjas for his $.support test page. --- diff --git a/src/support.js b/src/support.js index 67b41c4..e4c3ea9 100644 --- a/src/support.js +++ b/src/support.js @@ -147,7 +147,7 @@ jQuery.support.shrinkWrapBlocks = div.offsetWidth !== 2; } - div.innerHTML = "
t
"; + div.innerHTML = "
t
"; var tds = div.getElementsByTagName("td"); // Check if table cells still have offsetWidth/Height when they are set