summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/ellipsis-with-image-crash.html
blob: 42a18d0eb0ede5875e84f0cbf0012d5bc4814479 (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
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://issues.chromium.org/issues/41493875">
<style>
  #ellipsis {
    overflow: clip;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 18ch;
  }
  img {
    width: 10ch;
  }
  .ib {
    display: inline-block;
    width: 10ch;
    height: 10px;
  }
</style>
<div id="ellipsis">
  <span style="border-top:1px solid;">
    x<br>
    <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><div class="ib"></div>
  </span>
</div>