summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/object-view-box-same-size.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-images/object-view-box-same-size.html')
-rw-r--r--testing/web-platform/tests/css/css-images/object-view-box-same-size.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-images/object-view-box-same-size.html b/testing/web-platform/tests/css/css-images/object-view-box-same-size.html
new file mode 100644
index 0000000000..0daa360155
--- /dev/null
+++ b/testing/web-platform/tests/css/css-images/object-view-box-same-size.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<title>CSS object-view-box with same size as intrinsic 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(0px 0px 0px 0px);
+ object-fit: fill;
+ background-color: black;
+}
+</style>
+<img class="default" src="support/exif-orientation-6-ru.jpg"></img>