SeleniumHQ/selenium — pull request #178 by zch (2014-03-03 13:37:24+00:00)
Title: IE: Don't unnecessarily resize for screenshots

Skips resizing the browser window if the new size would be smaller than the current size.

Fixes issue 6503 - IE8 is unnecessarily (and incorrectly) resized before screenshots
https://code.google.com/p/selenium/issues/detail?id=6503