summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/scrollable-hidden-3d-transform-z.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-transforms/scrollable-hidden-3d-transform-z.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/scrollable-hidden-3d-transform-z.html')
-rw-r--r--testing/web-platform/tests/css/css-transforms/scrollable-hidden-3d-transform-z.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/scrollable-hidden-3d-transform-z.html b/testing/web-platform/tests/css/css-transforms/scrollable-hidden-3d-transform-z.html
new file mode 100644
index 0000000000..7f4c6d14f5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-transforms/scrollable-hidden-3d-transform-z.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<link rel="author" title="Seokho Song" href="mailto:0xdevssh@gmail.com">
+<link rel="help" href="https://www.w3.org/TR/css-transforms-2/#3d-transform-rendering/">
+<link rel="match" href="scrollable-hidden-3d-transform-z-ref.html">
+<style>
+#container {
+ width: 100px;
+ height: 100px;
+ background: green;
+ position: relative;
+ transform-style: preserve-3d;
+}
+#scroller {
+ width: 100px;
+ height: 100px;
+ background: red;
+ position: absolute;
+ transform: translateZ(-1px);
+ overflow-y: hidden;
+}
+</style>
+<div id="container">
+ <div id="scroller">
+ <div style="height: 300px"></div>
+ </div>
+</div>