summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/dynamic-inherit-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/transform/dynamic-inherit-1.html')
-rw-r--r--layout/reftests/transform/dynamic-inherit-1.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/transform/dynamic-inherit-1.html b/layout/reftests/transform/dynamic-inherit-1.html
new file mode 100644
index 0000000000..e04512a6fa
--- /dev/null
+++ b/layout/reftests/transform/dynamic-inherit-1.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<head>
+<title>Test for bug 521720</title>
+<style type="text/css">
+
+p {
+ -moz-transform-origin: inherit;
+ -moz-transform: scale(2);
+ height: 10px;
+ width: 10px;
+ background: green;
+ margin: 50px;
+}
+
+</style>
+<head>
+<body onload="document.getElementById('a').style.removeProperty('-moz-transform-origin');">
+<div id="a" style="-moz-transform-origin: 10px 10px">
+<p style="font-size: 10px"></p>
+</div>
+</body>