someone else mentioned this issue here:
http://plugins.jquery.com/node/2215
but since in jQuery 1.2.6 dimensions has been included in the core the same issue is showing up in jQuery core now.
I tracked it a bit further and I do not believe that it is related to the this.is(':visible') as specified previously, but rather the following portion (tried calling this alone and it causes the exception):
num( this, name.toLowerCase() ) + num(this, 'padding' + torl) + num(this, 'padding' + borr);
Workaround: override innerWidth and innerHeight functions with the ones from dimensions 1.1 and everything seems fine.
Which leads me to believe that the line
this[0] == window || this[0] == document ? this.height() : ...
from dimensions 1.1 is solving the issue but preventing a .curCSS call on window or document.
This is not a problem on IE 6,7
This is a problem on Firefox 2,3; Opera 9;
perhaps others - that was all I had available to test.