jonleighton/poltergeist — pull request #452 by kevinmcconnell (2014-02-11 22:13:01+00:00)
Title: Render full window size if document has no height

When creating screenshots with `:full => true`, the call was failing silently (no screenshot being created) if the `scrollHeight` of the root element was zero. This PR changes the behavior to fall back to using the viewport size in that case.

I encountered this because I'm working on a project that uses `position: fixed