blob: e0aac8481de098758fb30f0f883e99e4f2926cd3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
function destroyed()
{
var target = document.getElementById("target");
target.innerHTML = "text";
}
function loaded()
{
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
document.body.offsetTop;
location.href = "data:text/html,<head><scr" + "ipt>function loaded() { if (window.testRunner) testRunner.notifyDone(); }</scr" + "ipt></head><body onload='loaded()'>Test for rdar://problem/7194735 PASSED.</body>";
}
</script>
</head>
<body onload="loaded()">
<p>
Test for <i><a href="rdar://problem/7194735">rdar://problem/7194735</a> Crashes at LayoutText::LayoutText()</i>.
</p>
<p>
This test should not crash or cause an assertion failure.
</p>
<embed type="application/x-webkit-test-netscape" ondestroy="destroyed()">
<div id="target"></div>
</body>
</html>