views:

204

answers:

1

There was a lot of talk that IE8 was supposed to fix/remove hasLayout. Doesn't seem to have happened, though it's not usually an issue.

The problem is that when it does crop up there doesn't seem to be a way for IE8's developer toolbar to tell you hasLayout is being applied, as it used to do in IE7's developer toolbar.

Does anyone have a workaround? Am I missing something obvious?

+3  A: 

If the developer toolbar is not telling you that it's there, have you tried using the console to explicitly query the property? That is, using console.log (or whatever the IE developer toolbar equivalent is). So: console.log(whateverObject.hasLayout)? I realize this has more to do with Javascript, but I think this could qualify as a workaround ;)

Vivin Paliath
It may indeed. Will try to try it out.
D_N
Just tested. `el.currentStyle.hasLayout` does work in the console.
Joel Potter