<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
div {
  background-color: green;
  color: green;
  font-family: Ahem;
  font-size: 10px;
}
</style>
<div style="width: 300px;">only_one_line<wbr>here</div>
<div style="width: 100px">first_line<wbr>second_line</div>
