summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1475971-1.html
blob: b3b5e681f2847e0d28192f513ec49ebf8501ea95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html class="reftest-wait">
<style>
div {
  width: 200px;
  height: 200px;
}
</style>

<div style="position:fixed;">
  <div style="transform:translateX(50px);">
    <div id="resize" style="background-color:blue;">
    </div>
  </div>
</div>

<script>
  function doTest() {
    document.getElementById("resize").style.width = "300px";
    document.documentElement.removeAttribute("class");
  }
  window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>