View | Details | Raw Unified | Return to bug 47368
Collapse All | Expand All

(-)render-css-background.js (-1 / +1 lines)
 Lines 60-66    Link Here 
60
	width: width,
60
	width: width,
61
	height: height
61
	height: height
62
};
62
};
63
page.content = '<html><body style="background:' + cssBackground + '; width: 100%; height: 100%;"></body></html>';
63
page.content = '<html><body style="background:' + cssBackground + '; width: ' + width + 'px; height: ' + height + 'px;"></body></html>';
64
page.onLoadFinished = function(resp) {
64
page.onLoadFinished = function(resp) {
65
	page.render(outImage);
65
	page.render(outImage);
66
	phantom.exit();
66
	phantom.exit();

Return to bug 47368