summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-img-scroll-replaced.html
blob: 0657596d4f19ff91d0074918334eba5de8f00ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<meta charset="utf-8">
<title>Verifies overflow:scroll on a replaced element clips to content box but doesn't generate scrollbars</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
<link rel="match" href="overflow-img-scroll-replaced-ref.html">
<style>
  img {
    padding: 10px;
    background: grey;
    object-fit: none;
    width: 50px;
    height: 50px;
    object-position: 0% 0%;
    overflow: scroll;
  }
</style>
<body>
<img src="../css-images/support/exif-orientation-6-ru.jpg"></img>
</body>