<style>
div {
  font-size: 20px;
  font-family: Monospace;
  width: 400px;
  border: 1px solid;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
</style>
<div style="text-align: right;">PASS if truncated<br><br></div>
<div style="text-align: left;">PASS if NOT truncated<br><br></div>
