layout/reftests/transform/dynamic-addremove-1a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/transform/dynamic-addremove-1a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait">
     1.6 +<body style="margin:0;">
     1.7 +<div id="t" style="width:100px; height:100px; background:yellow;">
     1.8 +  <div style="position:absolute; left:50px; top:50px; width:100px; height:100px; background:orange;"></div>
     1.9 +</div>
    1.10 +<script>
    1.11 +function doTest() {
    1.12 +  document.getElementById("t").style.transform = "translate(80px,20px)";
    1.13 +  document.documentElement.removeAttribute("class");
    1.14 +}
    1.15 +window.addEventListener("MozReftestInvalidate", doTest, false);
    1.16 +</script>
    1.17 +</body>
    1.18 +</html>

mercurial