git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f92ede
)
Fix reliableHiddenOffsets test was not working properly when table cells have borders...
author
Colin Snover
<github.com@zetafleet.com>
Sun, 26 Dec 2010 16:35:14 +0000
(10:35 -0600)
committer
Colin Snover
<github.com@zetafleet.com>
Sun, 26 Dec 2010 16:35:14 +0000
(10:35 -0600)
src/support.js
patch
|
blob
|
history
diff --git
a/src/support.js
b/src/support.js
index
67b41c4
..
e4c3ea9
100644
(file)
--- a/
src/support.js
+++ b/
src/support.js
@@
-147,7
+147,7
@@
jQuery.support.shrinkWrapBlocks = div.offsetWidth !== 2;
}
- div.innerHTML = "<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";
+ div.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
var tds = div.getElementsByTagName("td");
// Check if table cells still have offsetWidth/Height when they are set