chromium/third_party/blink/web_tests/virtual/text-antialias/line-break-between-text-nodes-with-inline-blocks.html

<!DOCTYPE html>
<html>
<!-- This is a regression test for http://crbug.com/305904 -->
<head>
<script>
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
    }

    window.onload = async function() {
        document.body.offsetTop;
        b.style.display = "inline-block";

        document.body.offsetTop;
        a.removeChild(c);

        document.body.offsetTop;
        var resizePromise = new Promise(resolve => window.onresize = resolve);
        window.resizeTo(42, window.outerHeight);
        await resizePromise;

        document.getElementById("results").innerText = "Test passes if no crash."
        if (window.testRunner) {
            testRunner.notifyDone();
        }
    }
</script>
</head>
<div style="width: 0px;">foo<span id="a">
        <span id="b"></span><span>bar</span><span id="c"></span>
    </span>
    <span style="display:inline-block;"></span>
</div>
<div><pre id="results"></pre></div>
</html>