From 52b1709b94cf631e0641eebfa4f76b101528d93b Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 26 Dec 2010 10:35:14 -0600 Subject: [PATCH] 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. --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4