blob: 2fbed39161be1228febacd48491c7a5f5a49251a [file] [log] [blame]
<p>
Test that an incremental layout of a block with line-clamp truncation does not trigger a crash.
</p>
<div style="-webkit-box-orient: vertical; -webkit-line-clamp: 5; display: -webkit-box;">
<div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<span id="target">Running </span>
<a href="#">X</a>
</div>
</div>
<script>
function test()
{
var placeholder = document.getElementById("target");
placeholder.parentNode.removeChild(placeholder);
}
if (window.testRunner)
testRunner.dumpAsText();
document.body.offsetTop;
test();
document.body.offsetTop;
</script>