| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script type="text/javascript"> | |
| 4 | |
| 5 function test() | |
| 6 { | |
| 7 if (window.testRunner && window.internals) { | |
| 8 testRunner.dumpAsText(); | |
| 9 internals.settings.setFrameFlatteningEnabled(true); | |
| 10 } | |
| 11 } | |
| 12 </script> | |
| 13 </head> | |
| 14 <body onload="test()"> | |
| 15 <div> | |
| 16 <p>This test verifies that nested iframes do not cause assertion failure
, when javascript is forcing layout. PASS if no assert in debug.</p> | |
| 17 </div> | |
| 18 <iframe src="data:text/html, | |
| 19 <style>body { background-color: green; }</style> | |
| 20 <body> | |
| 21 <iframe src='data:text/html, | |
| 22 <style>body { background-color: yellow; }</style> | |
| 23 <body></body>' scrolling='no' height='50px' width='50px'></ifram
e> | |
| 24 <script>document.body.offsetHeight</script> | |
| 25 </body>" scrolling="no" height="100px" width="100px"></iframe> | |
| 26 <script>document.body.offsetHeight</script> | |
| 27 </body> | |
| 28 </html> | |
| OLD | NEW |