Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<title>CSS object-view-box on an element with contain-intrinsic-size : ref</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
.default {
object-fit: fill;
width: 100px;
height: 200px;
position: relative;
top: -100px;
left: -50px;
clip-path: inset(101px 0px 0px 51px);
}
</style>
<img class="default" src="support/exif-orientation-6-ru.jpg"></img>