Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <title>Resize Reflow Harness</title> |
michael@0 | 4 | <style> |
michael@0 | 5 | html,body { height: 100%; overflow:hidden; } |
michael@0 | 6 | </style> |
michael@0 | 7 | <body onload=" |
michael@0 | 8 | var iframe = document.getElementById('outer') |
michael@0 | 9 | iframe.style.width = '50em'; |
michael@0 | 10 | iframe.contentDocument.body.offsetWidth; |
michael@0 | 11 | iframe.style.width = '28em'; |
michael@0 | 12 | document.documentElement.className = ''; |
michael@0 | 13 | "> |
michael@0 | 14 | |
michael@0 | 15 | <iframe id="outer" src="resize-reflow-001.inner.html" height="90%" frameborder=0></iframe> |
michael@0 | 16 | |
michael@0 | 17 | <script> |
michael@0 | 18 | |
michael@0 | 19 | </script> |