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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/transform/dynamic-addremove-1c.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     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="float:left;">
     1.9 +    <div style="position:fixed; left:50px; top:50px; width:100px; height:100px; background:orange;"></div>
    1.10 +  </div>
    1.11 +</div>
    1.12 +<script>
    1.13 +function doTest() {
    1.14 +  document.getElementById("t").style.transform = "translate(80px,20px)";
    1.15 +  document.documentElement.removeAttribute("class");
    1.16 +}
    1.17 +window.addEventListener("MozReftestInvalidate", doTest, false);
    1.18 +</script>
    1.19 +</body>
    1.20 +</html>

mercurial