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

<style>
.default {
  object-view-box: inset(50px 0px 100px 0px);
  object-fit: fill;
  background-color: black;
}
</style>
<img class="default" src="support/exif-orientation-6-ru.jpg"></img>