iframe-initially-empty-is-updated.html (704B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <title>Iframe that doesn't load can be updated and rendered.</title> 4 <meta charset="utf-8"> 5 <link rel="match" href="iframe-initially-empty-is-updated-ref.html"/> 6 <html> 7 <body> 8 <iframe src="resources/empty.html"></iframe> 9 <script> 10 window[0].document.body.appendChild(document.createElement('div')) 11 .appendChild(document.createTextNode('Hello world!')); 12 window[0].document.body.firstChild.style = 'color: green'; 13 window.stop(); 14 requestAnimationFrame(() => { 15 requestAnimationFrame(() => { 16 document.documentElement.classList.remove("reftest-wait"); 17 }); 18 }); 19 </script> 20 </body> 21 </html>