summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/animate-layer-scale-inherit-2.html
blob: f7297d12134b22dbed9a841d992d9563baa5a4d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE HTML>
<title>Testcase, bug 1122526</title>
<style>

#outer, #inner {
  display: inline-block;
  background: white;
  color: black;
}
#outer { transform: scale(5) }
#inner { animation: HoldTransform linear infinite 1s,
                    HoldOpacity   linear infinite 1s; }
#inner {
  vertical-align: top;
  height: 100px;
  width: 100px;
  background: repeating-linear-gradient(to top left, yellow, blue 10px);
}
@keyframes HoldTransform {
  from, to { transform: scale(0.2) }
}
@keyframes HoldOpacity {
  from, to { opacity: 0.6 }
}

</style>

<div id="outer">
  <div id="inner">
  </div>
</div>