<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
div {
  border: 1px solid green;
  width: 304px;
  word-wrap: break-word;
  font-family: Ahem;
}
</style>
<div><span>this</span><span>text</span><span>overflows=></span><span>foo</span></div>
