mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
clear the canvas with the documentElement background color
see tests/background.html
This commit is contained in:
parent
fb7879fd17
commit
38fe643b25
@ -1250,7 +1250,7 @@ _html2canvas.Parse = function ( images, options ) {
|
||||
}
|
||||
|
||||
|
||||
stack.backgroundColor = getCSS( body, "backgroundColor" );
|
||||
stack.backgroundColor = getCSS( document.documentElement, "backgroundColor" );
|
||||
|
||||
return stack;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user