blob: 98fcac94c327ba34bea17380d7349570762b8a37 [file] [log] [blame]
<div id="target1"></div>
<div id="target2"></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var target1 = document.getElementById("target1");
target1.offsetTop;
target1.style.display = "none";
var embed = document.createElement("embed");
embed.setAttribute("type", "x-webkit/x-webkit-unknown");
target1.appendChild(embed);
var target2 = document.getElementById("target2");
target2.offsetTop;
target2.style.display = "none";
var object = document.createElement("object");
object.setAttribute("type", "x-webkit/x-webkit-unknown");
target2.appendChild(embed);
</script>
<p>This tests that we don&rsquo;t crash when forcing a style recalc when inside RenderIFrame::updateWidget.</p >
<p>SUCCESS - Did not crash!</p>