What’s wrong with IE developers? A window.resize event should happen if the user resizes the window, not if elements on the page change in size! The actual window isn’t changing sizes! And this weird behavior persists even in IE8?
Note: you might not see it unless you’re using a DOCTYPE. But you should be using a DOCTYPE, so…
Unfortunately even the jquery library doesn’t compensate for this.
It looks like all you can really do is just manually test yourself to see if the window dimensions have changed (see Stack Overflow for an example solution).