summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/476598-1b.html
blob: 46056f4e123ddee672efa0645f2d464ffbea312a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML>
<title>Test for incorrect inherited/aInherited use in transform-origin handling</title>
<style type="text/css">

p {
  transform-origin: inherit;
  transform: scale(2);
  height: 10px;
  width: 10px;
  background: green;
  margin: 50px;
}

</style>
<div style="transform-origin: 10px 10px">
<p style="font-size: 10px"></p>
</div>
<div style="transform-origin: 20px 20px">
<p style="font-size: 20px"></p>
</div>