Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html reftest-zoom="0.9" class="reftest-wait">
<meta charset="utf-8">
<body>
<div id="transformed" style="width:200px; height:200px; background-color:red; transform:scale(2)"></div>
</body>
<script>
function doTest() {
document.getElementById("transformed").style.transform = "scale(0)";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>