summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1239564.html
blob: 37f090009436d50fdb37deb4c0ff9f72f9d6d7f8 (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
<html class="reftest-wait"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Testcase for bug 1239564</title>
<style>
#circle {
  border-radius: 300px;
  height: 80px;
  width: 80px;
  background-color: red;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top:0;
  bottom: 0;
  will-change: transform;
}
</style>
<body>
<div id="circle"></div>
<script>
var c = document.getElementById('circle');
function doTest() {
  c.style.transform = "translateZ(1px) scale(3)";
  document.documentElement.removeAttribute('class');
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body></html>