[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / printing / crash-while-formatting-subframe-for-printing.html
1 <title>Unfortunately not 100% repro.</title>
2 <body onload="runTests()">
3     <div id="foobar">
4         <iframe style="width: 90%" src="data:text/html,<body style='width: 80%'>PASS if no crash</body>"></iframe>
5     </div>
6 </body>
7 <script>
8 if (window.testRunner)
9     testRunner.dumpAsText();
10
11 function runTests() {
12     setTimeout(function() {
13         foobar.style.width = "400px";
14     }, 0);
15     window.print();
16 }
17 </script>