<p>
    Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=14758">http://bugs.webkit.org/show_bug.cgi?id=14758</a>
    REGRESSION: Repeated text after line break on facebook.com</i>.
</p>
<p>
    These two boxes should be identical:
</p>
<div style="width: 70px; border: solid;">
    Lorem <span dir="ltr">ipsum</span>
    <div>dolor</div>
</div>
<br>
<div style="width: 70px; border: solid;">
    Lorem ipsum
    <div>dolor</div>
</div>
