clear the canvas with the documentElement background color

see tests/background.html
This commit is contained in:
Obexer Christoph 2012-03-02 18:32:37 +01:00
parent fb7879fd17
commit 38fe643b25

View File

@ -1250,7 +1250,7 @@ _html2canvas.Parse = function ( images, options ) {
}
stack.backgroundColor = getCSS( body, "backgroundColor" );
stack.backgroundColor = getCSS( document.documentElement, "backgroundColor" );
return stack;