summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html
blob: 4552cb06da9ad3eebaf06de531219b7e021d6281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<meta charset="utf-8">
<title>Verifies img elements are clipped with display:table</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
<style>
  .default {
    width: 25px;
    height: 50px;
    border-radius: 2px;
    overflow: clip;
    border-radius: 2px;
  }
</style>
<body>
  <div class="default">
    <img src="../css-images/support/exif-orientation-6-ru.jpg"></img>
  </div>
</body>