Merge pull request #478 from ClickWithMeNow/master

add classname to html2canvas iframe
This commit is contained in:
Niklas von Hertzen 2014-11-21 00:31:01 +02:00
commit 0579804cbb
3 changed files with 3 additions and 1 deletions

1
dist/html2canvas.js vendored
View File

@ -692,6 +692,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";

File diff suppressed because one or more lines are too long

View File

@ -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";