<style>
.outer {
  position: absolute;
}
.inner {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
</style>
<div class=outer><div class=inner>should not truncate</div></div>
