summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/translate-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/transform/translate-3.html')
-rw-r--r--layout/reftests/transform/translate-3.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/transform/translate-3.html b/layout/reftests/transform/translate-3.html
new file mode 100644
index 0000000000..ea326324a3
--- /dev/null
+++ b/layout/reftests/transform/translate-3.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px; height: 100px;
+}
+#outer {
+ background: green;
+ overflow: hidden;
+}
+#inner {
+ background: red;
+ transform: translateX(calc(100px));
+}
+</style>
+<div id="outer">
+ <div id="inner">
+ </div>
+</div>