summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/dynamic-inherit-1.html
blob: 4c410e2441186fa937185ed85f8e13a8e594f2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>