projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2bb7ba3
)
set page.clipRect values
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 3 Feb 2014 17:54:24 +0000
(18:54 +0100)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 3 Feb 2014 17:54:24 +0000
(18:54 +0100)
contents which is outside of this area will be cutted (scrolling effect)
test/phantom/screenshot.js
patch
|
blob
|
history
diff --git
a/test/phantom/screenshot.js
b/test/phantom/screenshot.js
index
a91addf
..
08e230d
100644
(file)
--- a/
test/phantom/screenshot.js
+++ b/
test/phantom/screenshot.js
@@
-15,6
+15,11
@@
page.viewportSize = {
height: system.args[4] ? system.args[4] : 1000
};
+page.clipRect = {
+ width: page.viewportSize.width,
+ height: page.viewportSize.height
+};
+
page.open(url, function () {
// small delay
setTimeout(function () {