Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<style type="text/css">
<script type="text/javascript">
function run() {
var ifr = document.getElementById("if");
var cd = ifr.contentDocument;;
cd.write("<body onresize='parent.setup(); location.reload()'>");
// resize the child = "500px";
function setup() {
var ifr = document.getElementById("if");
var cd = ifr.contentDocument;
// put a pending repaint on the child = 'green';
// put a pending reframe that destroys the frame on the parent = 'none';
// Let the location.reload() call RebuildAllStyleData.
<body onload="run()">
<iframe id="if"></iframe>