<!DOCTYPE html> | |
<style> | |
.test { | |
overflow:hidden; | |
width:100px; | |
white-space:nowrap; | |
display:inline-block; | |
text-overflow:ellipsis; | |
word-wrap:break-word; | |
} | |
</style> | |
<p>crbug.com/769980: You should see text with an ellipsis below.</p> | |
<div class="test">this is a long sentence of text that overflows</div> |