| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script type="text/javascript"> | |
| 4 function test() | |
| 5 { | |
| 6 if (window.internals) | |
| 7 internals.settings.setFrameFlatteningEnabled(true); | |
| 8 // Force synchronous layout. | |
| 9 document.body.offsetHeight; | |
| 10 } | |
| 11 </script> | |
| 12 </head> | |
| 13 | |
| 14 <frameset rows="53%, 100%" frameborder="0" border=0 framespacing="0" onload="tes
t();"> | |
| 15 <frameset cols="53%, 100%"> | |
| 16 <frame src="data:text/html, | |
| 17 <style>body { background-color: green; }</style> | |
| 18 <p> | |
| 19 Test for frameset flattening. The flattening only works inside t
he DRT. | |
| 20 </p> | |
| 21 <div style='position: absolute; width: 350px; height: 50px; left: 0;
top: 0px;'></div> | |
| 22 "> | |
| 23 </frame> | |
| 24 <frame src="data:text/html, | |
| 25 <style>body { background-color: red; }</style> | |
| 26 <div style='position: absolute; width: 300px; height: 100px; left: 0
; top: 0px;'></div> | |
| 27 "> | |
| 28 </frame> | |
| 29 </frameset> | |
| 30 <frameset cols="200, *"> | |
| 31 <frame src="data:text/html, | |
| 32 <style>body { background-color: yellow; }</style> | |
| 33 <div style='position: absolute; width: 50px; height: 200px; left: 0;
top: 0px;'></div> | |
| 34 "> | |
| 35 </frame> | |
| 36 <frame src="data:text/html, | |
| 37 <style>body { background-color: blue; }</style> | |
| 38 <div style='position: absolute; width: 650px; height: 400px; left: 0
; top: 0px;'></div> | |
| 39 "> | |
| 40 </frame> | |
| 41 </frameset> | |
| 42 <noframes> | |
| 43 <body> | |
| 44 </body> | |
| 45 </noframes> | |
| 46 </frameset> | |
| 47 </html> | |
| OLD | NEW |