mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
85611a7b6d
--HG-- extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
29 lines
651 B
HTML
29 lines
651 B
HTML
<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> |