summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1200611-1-ref.html
blob: 58e31396e2f95287ccce0ef7a2f00ebfdd76071a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Make sure the ImageLayer is sized correctly when using object-fit</title>

<style type="text/css">

.clip {
  display: inline-block;
  overflow: hidden;
}

img {
  will-change: transform;
  margin: -64px 0;
  display: block;
}

</style>

<span class="clip">
  <img src="repeatable-diagonal-gradient.png">
</span>