OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <body> | |
4 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=95645">WebKit B
ug 95645</a> Crash </p> | |
5 <p>The test passes if it does not crash or assert.</p> | |
6 <p>PASS</p> | |
7 <div id="DIV1"> | |
8 <div id="DIV2"> | |
9 <iframe id="FRAME1" style="-webkit-flow-into: flow;"></iframe> | |
10 <iframe id="FRAME2"></iframe> | |
11 <script> | |
12 if (window.testRunner) | |
13 window.testRunner.dumpAsText(); | |
14 | |
15 div1 = document.getElementById("DIV1"); | |
16 div2 = document.getElementById("DIV2"); | |
17 frame1 = document.getElementById("FRAME1"); | |
18 frame2 = document.getElementById("FRAME2"); | |
19 frame2.contentDocument.body.appendChild(frame1); | |
20 | |
21 document.body.offsetTop; | |
22 div1.replaceChild(frame1, div2); | |
23 </script> | |
24 </div> | |
25 </div> | |
26 </body> | |
27 </html> | |
OLD | NEW |