1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
teampoltergeist--poltergeist/spec/support
Kevin McConnell 8e90854d53 Render full window size if document has no height
When rendering a screenshot with `:full => true` on a document which has
a height of zero, the call fails silently with no screenshot being
created.  This situation can occur with pages that use absolute or fixed
positioning for all content, for example.

Changed to use the `documentElement`'s `clientHeight` & `clientWidth` as
a fallback, which will result in screenshots the size of the viewport in
that case.
2014-04-23 11:07:45 -07:00
..
public Keydown comes before the element value is updated 2012-08-16 12:45:40 +01:00
views Render full window size if document has no height 2014-04-23 11:07:45 -07:00
custom_phantomjs Change this test yet again to not rely on ps, and make it allow up to a second for the executable to be called. 2011-10-28 18:52:06 +01:00
custom_phantomjs.bat Windows support 2013-02-28 11:59:28 -06:00
geolocation.js inject the agent (and thus extensions) on the native page initialisation, means that extensions are therefore available at first load 2013-02-14 14:00:48 +11:00
spec_logger.rb Print out debug info if there are failures on travis 2011-10-30 18:22:44 +00:00
test_app.rb Fix #263 HTTP Basic Authentication 2013-10-10 15:37:28 +04:00