summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/750066.html
blob: d34b5c4b44cda0a01cf29d377df6dc47751aeff8 (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
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE HTML>
<html class="reftest-wait"><head>
    <meta charset="utf-8">
    <title>Testcase for bug 750066</title>
<style>
iframe { transition: width 2000ms ease-out 0s; }
</style>

<script>
function resize(w) {
  var win = window.frames[0];
  win.frameElement.style.width = w;
}
function doTest() {
  resize('1000px'); 
  setTimeout(function(){ 
    resize('500px');
    setTimeout(function(){
      document.documentElement.removeAttribute("class");
    },0);
  },500);
}
</script>
</head>
<body>

<iframe src="750066-iframe.html"></iframe>

<script>
window.addEventListener("MozReftestInvalidate", doTest);
</script>

</body>
</html>