blob: 178e3d2e2848ec2d2dcc1b2514d9db502d7d894e (
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
35
36
|
<!DOCTYPE html>
<!-- Use reftest-snapshot-all as a workaround for bug 1485705 -->
<html class="reftest-wait reftest-snapshot-all">
<head>
<meta charset="UTF-8">
<title>Testcase for bug 1483659</title>
<style>
#container {
position: absolute;
top: 400px;
left: 200px;
perspective: 100px;
}
#content {
width: 300px;
height: 300px;
background-color: green;
}
</style>
</head>
<body>
<div id="container">
<div id="content"></div>
</div>
<script>
function doTest() {
var e = document.getElementById("content");
e.style.transform = "rotateY(60deg)";
document.documentElement.classList.remove("reftest-wait");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>
|