summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/perspective-origin-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/transform-3d/perspective-origin-2-ref.html')
-rw-r--r--layout/reftests/transform-3d/perspective-origin-2-ref.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/transform-3d/perspective-origin-2-ref.html b/layout/reftests/transform-3d/perspective-origin-2-ref.html
new file mode 100644
index 0000000000..51f813b115
--- /dev/null
+++ b/layout/reftests/transform-3d/perspective-origin-2-ref.html
@@ -0,0 +1,31 @@
+<html>
+</head>
+<style type="text/css">
+ .stage{
+ perspective: 100px;
+ perspective-origin: 30px 30px;
+ height:100px;
+ width:100px;
+ margin:5px;
+ padding:5px;
+ border:5px solid gray;
+ }
+
+ .box {
+ transform:rotateX(45deg);
+ height:70px;
+ width:70px;
+ background:green;
+ margin:5px;
+ padding:5px;
+ border:5px solid black;
+ }
+
+ </style>
+</head>
+<body>
+ <div class="stage">
+ <div class="box"></div>
+ </div>
+</body>
+</html>