From 38fe643b2508e480c69d3849c196e3e5d307abf7 Mon Sep 17 00:00:00 2001 From: Obexer Christoph Date: Fri, 2 Mar 2012 18:32:37 +0100 Subject: [PATCH] clear the canvas with the documentElement background color see tests/background.html --- src/Parse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parse.js b/src/Parse.js index da0e4b5..4f9a03a 100644 --- a/src/Parse.js +++ b/src/Parse.js @@ -1250,7 +1250,7 @@ _html2canvas.Parse = function ( images, options ) { } - stack.backgroundColor = getCSS( body, "backgroundColor" ); + stack.backgroundColor = getCSS( document.documentElement, "backgroundColor" ); return stack;