<fieldset><legend style="display: inline">foo</legend></fieldset>
<p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=23753">23753</a>: Assertion failure in RenderBlock::createLineBoxes() when a legend has display: inline</p>
<p>This test PASSED if it did not crash</p> <script>
    if (window.testRunner)
        testRunner.dumpAsText();
</script>
