summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/img-layer-object-fit.html
blob: 33d5ca84a4e5433a8d4d704e84e73c98f0520b17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<style>
  img {
    width: 100px;
    height: 30px;
    transform: translateZ(0);
  }
</style>
<img src="resources/simple_image.png" style="object-fit: contain"/><br/>
<img src="resources/simple_image.png" style="object-fit: cover"/><br/>
<img src="resources/simple_image.png" style="object-fit: none"/><br/>
<img src="resources/simple_image.png" style="object-fit: scale-down"/><br/>