summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-block-in-inline-001-ref.html
blob: 79f2e409109d72a76e12374220bd423aba16f4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<style>
.clamp {
  display: -webkit-inline-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
</style>
<body>
  <div class="clamp">
    1<br>
    2<br>
    <div>3</div>
    4<br>
    5
  </div>
</body>