summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html b/testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html
new file mode 100644
index 0000000000..a161cd8fc9
--- /dev/null
+++ b/testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<title>View transitions: element with fixed position descendant (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;
+ background: blue;
+}
+.child {
+ width: 100px;
+ height: 100px;
+ position: fixed;
+ top: 150px;
+ left: 150px;
+ background: grey;
+}
+</style>
+
+<div class=target>
+ <div class=child></div>
+</div>
+