summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1078262-1.html
blob: eb3e06719b2b3bcdcbae18e84a14647de2c621c8 (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
32
33
34
<!-- Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/ -->
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Test for bug 1078262</title>

<style>
#outer {
  perspective: 10000px;
  width: 200px;
  height: 4000px;
  margin-top: -3800px;
  background: red;
  box-shadow: inset 0 0 0 2px white;
}
#inner {
  width: 200px;
  height: 4000px;
  background: white;
  box-sizing: border-box;
  border: 1px solid white;
  transform-origin: 50% 100% 0;
  animation: active-rotation 5s linear infinite;
}
@keyframes active-rotation {
  from { transform: rotateX(10.01deg); }
  to { transform: rotateX(10.00deg); }
}
</style>

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