Hide iframe container from view during render

This commit is contained in:
Niklas von Hertzen 2014-02-23 16:26:23 +02:00
parent 82e5a8a7c0
commit 314d26f1f1
3 changed files with 3 additions and 1 deletions

View File

@ -75,6 +75,7 @@ function createWindowClone(ownerDocument, width, height, options) {
container.style.visibility = "hidden";
container.style.position = "absolute";
container.style.left = container.style.top = "-10000px";
container.width = width;
container.height = height;
container.scrolling = "no"; // ios won't scroll without it

File diff suppressed because one or more lines are too long

View File

@ -66,6 +66,7 @@ function createWindowClone(ownerDocument, width, height, options) {
container.style.visibility = "hidden";
container.style.position = "absolute";
container.style.left = container.style.top = "-10000px";
container.width = width;
container.height = height;
container.scrolling = "no"; // ios won't scroll without it