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..4c410e2441
--- /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 {
+ transform-origin: inherit;
+ transform: scale(2);
+ height: 10px;
+ width: 10px;
+ background: green;
+ margin: 50px;
+}
+
+</style>
+<head>
+<body onload="document.getElementById('a').style.removeProperty('transform-origin');">
+<div id="a" style="transform-origin: 10px 10px">
+<p style="font-size: 10px"></p>
+</div>
+</body>