chromium/third_party/blink/web_tests/fast/deprecated-flexbox/line-clamp-crash.html

<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>