mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
d2d218e577
--HG-- extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
16 lines
498 B
HTML
16 lines
498 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<body style="margin:0;">
|
|
<div id="t" style="width:100px; height:100px; background:yellow;">
|
|
<div style="position:absolute; left:50px; top:50px; width:100px; height:100px; background:orange;"></div>
|
|
</div>
|
|
<script>
|
|
function doTest() {
|
|
document.getElementById("t").style.transform = "translate(80px,20px)";
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</body>
|
|
</html>
|