summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/descendant-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/transform/descendant-1.html')
-rw-r--r--layout/reftests/transform/descendant-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/transform/descendant-1.html b/layout/reftests/transform/descendant-1.html
new file mode 100644
index 0000000000..3ea83eb755
--- /dev/null
+++ b/layout/reftests/transform/descendant-1.html
@@ -0,0 +1,23 @@
+<html>
+<head>
+ <style>
+ #div1 {
+ background: green;
+ height: 100px;
+ width: 100px;
+ }
+ span {
+ background: yellow;
+ }
+ #div1 div {transform: translate(20px, 150px);
+ transform-origin: 0% 0%;
+ }
+ </style>
+</head>
+<body>
+ <div id="div1">
+ <div><span>span 1</span></div>
+ </div>
+ <span>span 2</span>
+</body>
+</html>