layout/reftests/bugs/619117-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/619117-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<style>
     1.8 +div {
     1.9 +  position: absolute;
    1.10 +  padding: 2px;
    1.11 +  left: 100px;
    1.12 +  top: 700px;
    1.13 +  width: 100px;
    1.14 +  height: 100px;
    1.15 +  background: yellow;
    1.16 +  -moz-transform: scale(1.5);
    1.17 +  transform: scale(1.5);
    1.18 +}
    1.19 +body.toggle div {
    1.20 +  -moz-transform: translate(0, -400px);
    1.21 +  transform: translate(0, -400px);
    1.22 +}
    1.23 +</style>
    1.24 +</head>
    1.25 +<body>
    1.26 +<div>Hello</div>
    1.27 +<script>
    1.28 +function doTest() {
    1.29 +  document.body.setAttribute("class", "toggle");
    1.30 +  document.documentElement.removeAttribute("class");
    1.31 +}
    1.32 +window.addEventListener("MozReftestInvalidate", doTest, false);
    1.33 +</script>
    1.34 +</body>
    1.35 +</html>

mercurial