summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/object-view-box-xywh-percentage-ref.html
blob: 23d2e063162f63ea603241e0a53a1925504c9c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<title>CSS object-view-box on an element with xywh() with percentage values : ref</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">

<style>
.container {
  width: 25px;
  height: 50px;
  overflow: hidden;
}
.default {
  position: relative;
  top: -50px;
  left: -25px;
}
</style>
<div class="container">
 <img class="default" src="support/exif-orientation-6-ru.jpg"></img>
</div>