blob: 17b0452f6139efb88da03a87ad38a103d168dc33 [file] [log] [blame]
<html>
<body>
WebKit Bug 87264 - Crash in run-ins with continuations while moving back to original position.<br />
Test passes if it does not crash.<br />
<style>
.runIn { display: run-in; }
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.body.offsetTop;
runIn1 = document.createElement('div');
runIn1.setAttribute('class', 'runIn');
document.body.appendChild(runIn1);
q1 = document.createElement('q');
q1.style.display = 'block';
document.body.appendChild(q1);
span1 = document.createElement('span');
q1.appendChild(span1);
document.body.offsetTop;
runIn1.appendChild(document.createElement('div'));
span1.style.display = 'block';
document.body.offsetTop;
q1.style.display = 'none';
</script>
</body>
</html>