summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/view-transition-name-is-grouping.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/view-transition-name-is-grouping.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/view-transition-name-is-grouping.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/view-transition-name-is-grouping.html b/testing/web-platform/tests/css/css-view-transitions/view-transition-name-is-grouping.html
new file mode 100644
index 0000000000..95739351f0
--- /dev/null
+++ b/testing/web-platform/tests/css/css-view-transitions/view-transition-name-is-grouping.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<title>View transitions: view-transition-name non-none value is a grouping value</title>
+<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/">
+<link rel="author" href="mailto:vmpstr@chromium.org">
+<link rel="match" href="view-transition-name-is-grouping-ref.html">
+
+<style>
+.parent {
+ top: 0;
+ width: 100px;
+ height: 100px;
+ position: absolute;
+ background: red;
+ transform-style: preserve-3d;
+ view-transition-name: target;
+}
+
+.child {
+ background: green;
+ width: 100px;
+ height: 100px;
+ top: 0;
+ left: 0;
+ position: absolute;
+ transform: translateZ(-500px);
+}
+
+body {
+ perspective: 1000px;
+ height: 500px;
+}
+</style>
+
+<div class=parent><div class=child></div></div>