<!DOCTYPE html> <!-- webkit-test-runner [ InlineFormattingContextIntegrationEnabled=false ] -->
<style>
    div { white-space: pre-wrap; border: 1px solid; padding: 4px; width: 70px; margin: 8px 0; }
</style>
<p>
    The following boxes should be identical.
</p>
<div>Lorem....... <span style="direction: rtl; unicode-bidi: bidi-override;">muspi</span>
</div>
<div>Lorem....... ipsum
</div>
