summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/object-view-box-size-containment-ref.html
blob: 24097c6883aaee85fb2fb99c646273b22d366d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<title>CSS object-view-box on an element with size containment : ref</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-images-4/#the-object-view-box">

<style>
.default {
  object-fit: fill;
  width: 50px;
  height: 200px;
  position: relative;
  top: -100px;
  clip-path: inset(101px 0px 0px 0px);
}
</style>
<img class="default" src="support/exif-orientation-6-ru.jpg"></img>