<style>
    #dummy:nth-child(3) { }
    #container:first-line { color: blue; }
</style>
<p>
    Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=45344">https://bugs.webkit.org/show_bug.cgi?id=45344</a>
    Null deref in InlineBox::height()</i>.
</p>
<p>
    This test should not crash.
</p>
<div contentEditable>
    <img id="dummy">
    <div id="container"><span id="target"><br></span></div>
</div>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    document.getElementById("container").parentNode.focus();
</script>
