OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script type="text/javascript"> | |
4 function test() { | |
5 if (window.testRunner && window.internals) { | |
6 testRunner.dumpAsText(); | |
7 internals.settings.setFrameFlatteningEnabled(true); | |
8 } | |
9 | |
10 // Force synchronous layout. | |
11 document.body.offsetHeight; | |
12 | |
13 document.getElementById("if").contentWindow.document.getElementById(
'in').focus(); | |
14 document.getElementById("if").contentWindow.document.getElementById(
'p').style.top = "20px"; | |
15 } | |
16 </script> | |
17 </head> | |
18 <body> | |
19 <style>body { background-color: green; }</style> | |
20 <p>This test passes if it does not crash <a href="https://bugs.webkit.org/sh
ow_bug.cgi?id=52449">https://bugs.webkit.org/show_bug.cgi?id=52449</a></p> | |
21 | |
22 <p><iframe id="if" onload="test();" width="20%" height="20%" scrolling=auto
src="data:text/html, | |
23 <html> | |
24 <body'> | |
25 <div style='position: absolute; width: 400px; height: 400px; left: 0; top: 0
px;' id='p'><input id='in' value='abcd'></div> | |
26 </body></html> | |
27 "> | |
28 </body> | |
29 </html> | |
30 | |
31 | |
OLD | NEW |