summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/background-resize-4.html
blob: ed4ea4f085b461cb7cb9f29f48d421f99125d3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- Test for bug 600574 -->
<html class="reftest-wait">
<head>
<script>
    function doTest() {
      document.getElementById("myDiv").style.width = "100px";
      document.documentElement.removeAttribute("class");
    }
    window.addEventListener("MozReftestInvalidate", doTest);
</script>
</head>
<body>
  <div id="myDiv"
       style="width: 10px;
              height: 100px;
              background-image:
                url('limeInRed-noSVGDimensions-animViewBox.svg')">
  </div>
</body>
</html>