mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
add html2canvas-container classname to iframe
This commit is contained in:
@ -124,6 +124,7 @@ function createWindowClone(ownerDocument, containerDocument, width, height, opti
|
||||
var documentElement = ownerDocument.documentElement.cloneNode(true),
|
||||
container = containerDocument.createElement("iframe");
|
||||
|
||||
container.className = "html2canvas-container";
|
||||
container.style.visibility = "hidden";
|
||||
container.style.position = "absolute";
|
||||
container.style.left = container.style.top = "-10000px";
|
||||
|
Reference in New Issue
Block a user