summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/text-overflow-ellipsis-003-ref.html
blob: 42349bbead88538a3a6c49a75d5dc2069367d1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<style>
.container {
  display: flex;
}

.cell {
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid red;
  text-overflow: ellipsis;
}

span {
  display: inline-block;
  background: green;
  width: 30px;
  height: 1em;
  padding: 4px;
  margin: 5px;
}
</style>
<div id="target" class="container" style="width: 150px;">
  <div class="cell">
    <span></span><span></span><span></span><span></span>
  </div>
  <div class="cell">
    <span></span><span></span><span></span><span></span>
  </div>
</div>