<style>
  .clamped {
    font-family: Ahem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
</style>
<body>
  <div class="clamped">
    <span>TEST<br />CASE</span>
    <div>FAIL</div>
  </div>
</body>
