I am having a similar issue, and am unsure how to find the root cause.
PIE_uncompressed.js:
Code:
getCss: PIE.StyleInfoBase.cacheWhenLocked( function() {
var el = this.targetElement,
cs = el.currentStyle,
css;
// Don't redraw or hide borders for cells in border-collapse:collapse tables
if( !( el.tagName in PIE.tableCellTags && el.offsetParent.currentStyle.borderCollapse === 'collapse' ) ) {
The error I am getting is that IE8 cannot find the offsetParent of any THs in my table (in console-based debugging, offsetParent == null).
My understanding is that offsetParent is the closest parent element with a CSS 'position'.
I tried adding position:relative to my table element in the CSS file, but this did not help.
I imagine that I could add a check for el.offsetParent to PIE.js, but would prefer to avoid hacking this file if possible, hence I've been trying to find the situation in which the bug occurs, but as this is a CSS + JS heavy site it is not a straightforward task.
Things are being hidden and shown on the problematic page, so I wonder if the CSS 'position' is being removed by jQuery at some point.
Another interesting twist is that I don't actually have any PIE applied to my TH elements, so it seems strange that PIE wants to do anything with the parent table.
Will post again if I get any closer to the cause.
Thanks,
Dan