window.resize in java script behaves differently.
I opened window of size height 550 and width 400 and immeaditely resizing it to same dimensions.Then the window size is shrinking (using window.resizeTo(400,550)).But it should be of same size right?why it is shrinking.Please help
window.resize in java script behaves differently.
===

I opened window of size height 550 and width 400 and immeaditely resizing it to same dimensions.Then the window size is shrinking (using window.resizeTo(400,550)).But it should be of same size right?why it is shrinking.Please help