We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ffe54 commit c63a5e1Copy full SHA for c63a5e1
assets/html/iframe-with-delay.html
@@ -0,0 +1,22 @@
1
+<!DOCTYPE HTML>
2
+<html>
3
+<head>
4
+ <style>
5
+
6
+ </style>
7
+</head>
8
+<body>
9
+ <input type="text" id="text-outside-iframe">
10
11
+ <script>
12
+ setTimeout(() => {
13
+ var iframe = document.createElement('iframe');
14
+ var html = '<body>Foo <input type="text" id="text-inside-iframe"> </body>';
15
+ iframe.srcdoc = html;
16
+ document.body.appendChild(iframe);
17
18
+ }, 3000);
19
+ </script>
20
+</body>
21
+</html>
22
0 commit comments