summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html b/testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html
new file mode 100644
index 0000000000..381a311cc4
--- /dev/null
+++ b/testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<title>View transitions: element with content less than box size (ref)</title>
+<link rel="help" href="https://github.com/WICG/view-transitions">
+<link rel="author" href="mailto:khushalsagar@chromium.org">
+
+<style>
+#target {
+ width: 100px;
+ height: 100px;
+}
+#inner {
+ width: 10px;
+ height: 10px;
+ background: blue;
+ position: relative;
+ top: 10px;
+ left: 10px;
+}
+</style>
+
+<div id=target>
+ <div id=inner></div>
+</div>