<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
div { | |
background-color: green; | |
font-family: Ahem; | |
font-size: 20px; | |
word-wrap: break-word; | |
width: 300px; | |
} | |
span { | |
border-right: 50px solid red; | |
} | |
</style> | |
<div><span>text_content_fits</span></div> |